mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 07:13:08 -05:00
commit
cdfb667f83
6 changed files with 61 additions and 2 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
node_modules
|
||||
bower_components
|
7
Makefile
7
Makefile
|
@ -1,6 +1,9 @@
|
|||
.PHONY: all build clean
|
||||
|
||||
all: build
|
||||
all: install build
|
||||
|
||||
intall:
|
||||
npm install
|
||||
|
||||
clean:
|
||||
rm -rf build
|
||||
|
@ -12,7 +15,7 @@ build/squire-raw.js: source/intro.js source/Constants.js source/TreeWalker.js so
|
|||
cat $^ >$@
|
||||
|
||||
build/squire.js: build/squire-raw.js
|
||||
uglifyjs $^ -c -m -o $@
|
||||
./node_modules/uglify-js/bin/uglifyjs $^ -c -m -o $@
|
||||
|
||||
build/document.html: source/document.html
|
||||
mkdir -p $(@D)
|
||||
|
|
25
bower.json
Normal file
25
bower.json
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"name": "Squire",
|
||||
"version": "0.0.1",
|
||||
"homepage": "https://github.com/neilj/Squire",
|
||||
"authors": [
|
||||
"Neil Jenkins <neil@nmjenkins.com>"
|
||||
],
|
||||
"description": "Squire is an HTML5 rich text editor, which provides powerful cross-browser normalisation, whilst being supremely lightweight and flexible.",
|
||||
"main": "build/squire.js",
|
||||
"keywords": [
|
||||
"wysiwyg",
|
||||
"editor",
|
||||
"text",
|
||||
"html",
|
||||
"squire"
|
||||
],
|
||||
"license": "MIT",
|
||||
"ignore": [
|
||||
"**/.*",
|
||||
"node_modules",
|
||||
"bower_components",
|
||||
"test",
|
||||
"tests"
|
||||
]
|
||||
}
|
29
package.json
Normal file
29
package.json
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"name": "Squire",
|
||||
"version": "0.0.1",
|
||||
"description": "Squire is an HTML5 rich text editor, which provides powerful cross-browser normalisation, whilst being supremely lightweight and flexible.",
|
||||
"main": "build/squire.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/neilj/Squire.git"
|
||||
},
|
||||
"keywords": [
|
||||
"wysiwyg",
|
||||
"editor",
|
||||
"text",
|
||||
"html",
|
||||
"squire"
|
||||
],
|
||||
"author": "Neil Jenkins",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/neilj/Squire/issues"
|
||||
},
|
||||
"homepage": "https://github.com/neilj/Squire",
|
||||
"devDependencies": {
|
||||
"uglify-js": "^2.4.15"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue