-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 2.25 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"name": "derby-entity",
"description": "A Perfect DerbyJS CRUD Component",
"version": "1.2.2",
"author": {
"name": "Michael Brade",
"email": "[email protected]"
},
"keywords": [
"derby",
"entity",
"crud",
"table"
],
"repository": {
"type": "git",
"url": "michael-brade/derby-entity"
},
"dependencies": {
"lodash": "4.x",
"derby-entities-lib": "1.2.x",
"derby-ui-toast": "*",
"d-comp-palette": "*"
},
"peerDependencies": {
"derby": "michael-brade/derby",
"derby-router": "*"
},
"devDependencies": {
"livescript": "1.6.x",
"node-sass": "4.13.x",
"uglify-js": "3.6.x",
"html-minifier": "4.x"
},
"scripts": {
"prebuild": "npm run clean;touch .create_stash && git stash save --include-untracked \"npm build stash\";npm test || { npm run postbuild; exit 1; };",
"build": "export DEST=dist;export SOURCES='*.ls';export VIEWS='*.html';export ASSETS='.*.scss|./README.md|./package.json';export IGNORE=\"./$DEST|./test|./node_modules\";echo \"\u001b[01;32mCompiling and minifying...\u001b[00m\";find -regextype posix-egrep -regex $IGNORE -prune -o -name \"$SOURCES\" -print0| xargs -n1 -P8 -0 sh -c 'echo $0...;mkdir -p \"$DEST/`dirname $0`\";lsc -cp \"$0\" | uglifyjs -cm -o \"$DEST/${0%.*}.js\"';echo \"\u001b[01;32mMinifying views...\u001b[00m\";find -regextype posix-egrep -regex $IGNORE -prune -o -name \"$VIEWS\" -print0| xargs -n1 -P8 -0 sh -c 'echo \"$0 -> $DEST/$0\";mkdir -p \"$DEST/`dirname $0`\";html-minifier --config-file .html-minifierrc -o \"$DEST/$0\" \"$0\"'| column -t -c 3;echo \"\u001b[01;32mCopying assets...\u001b[00m\";find -regextype posix-egrep -regex $IGNORE -prune -o -regex $ASSETS -print0| xargs -n1 -0 sh -c 'echo \"$0 -> $DEST/$0\";mkdir -p \"$DEST/`dirname \"$0\"`\";cp -a \"$0\" \"$DEST/$0\"'| column -t -c 3;echo \"\u001b[01;32mDone!\u001b[00m\";",
"postbuild": "git stash pop --index && rm .create_stash;",
"clean": "rm -rf dist;",
"test": "echo \"TODO: no tests specified yet\";",
"release": "npm run build; cd dist; npm publish;"
},
"engines": {
"node": ">= 4.x"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/michael-brade/derby-entity/issues"
},
"homepage": "https://github.com/michael-brade/derby-entity#readme"
}