forked from adamringhede/glenergy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
41 lines (41 loc) · 1.45 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
{
"name": "glenergy",
"version": "1.0.0",
"description": "Glenergy energy visualizer",
"main": "app/app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"clean": "rm -rf ./dist && mkdir ./dist",
"build": "npm run clean && npm run build:app && npm run build:styles && npm run build:static",
"build:app": "./node_modules/.bin/browserify ./app/app.js > ./dist/app.js",
"build:styles": "./node_modules/.bin/lessc ./app/app.less > ./dist/app.css",
"build:static": "cp ./app/index.html ./dist",
"watch": "./node_modules/.bin/parallelshell 'npm run build:static' 'npm run watch:app' 'npm run watch:styles' 'npm run serve'",
"watch:app": "./node_modules/.bin/watchify ./app/app.js -o ./dist/app.js",
"watch:styles": "watch 'npm run build:styles' ./app",
"serve": "./node_modules/.bin/parallelshell './node_modules/.bin/livereload ./dist/' './node_modules/.bin/http-server ./dist'"
},
"author": "Torsten Freyhall <[email protected]>",
"license": "private",
"dependencies": {
"angular": "~1.3.12",
"angular-ui-router": "~0.2.13"
},
"devDependencies": {
"browserify": "^8.1.3",
"debowerify": "^1.2.1",
"http-server": "^0.7.4",
"less": "^2.3.1",
"livereload": "^0.3.6",
"parallelshell": "^1.0.4",
"stringify": "^3.1.0",
"watch": "^0.13.0",
"watchify": "^2.3.0"
},
"browserify": {
"transform": [
"stringify",
"debowerify"
]
}
}