0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00

Merge pull request #9 from grupawp/master

Thanks!
This commit is contained in:
Neil Jenkins 2014-12-09 10:38:42 +11:00
commit cdfb667f83
6 changed files with 61 additions and 2 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
node_modules
bower_components

View file

@ -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
View 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
View 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"
}
}