-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
47 lines (47 loc) · 1.42 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
{
"name": "device-checkout-app",
"devDependencies": {
"babel-cli": "^6.8.0",
"babel-preset-babili": "0.0.4",
"babel-preset-es2015": "^6.6.0",
"cross-env": "^3.0.0",
"express": "^4.13.3",
"glob": "^7.0.5",
"mkdirp": "^0.5.1",
"ng-templatecache": "^0.1.4",
"nodemon": "^1.9.2",
"onchange": "^2.5.0",
"rimraf": "^2.5.2"
},
"dependencies": {
"angular": "^1.4.7",
"angular-route": "^1.5.5"
},
"babel": {
"presets": [
"es2015"
],
"env": {
"production": {
"presets": [
"babili"
]
}
}
},
"scripts": {
"env": "env",
"watch:src": "onchange 'app/' -i -- npm run build:src",
"watch": "npm start -- --watch ./deploy -e js,html & npm run watch:src",
"build:index": "cp app/index.html deploy",
"build:template": "node scripts/templateCachePrep.js app/",
"prebuild:js": "npm run build:template",
"build:js": "babel app/ temp/templateCacheModule.js --only=*.js -o deploy/js/compiled.js",
"build:vendor": "cp node_modules/angular/angular.js node_modules/angular-route/angular-route.js deploy/js",
"build:src": "npm run build:js && npm run build:index",
"clean": "rimraf deploy && rimraf temp && mkdirp temp && mkdirp deploy/js",
"build": "npm run clean && npm run build:src && npm run build:vendor",
"build:prod": "cross-env NODE_ENV=production npm run build",
"start": "nodemon app.js"
}
}