-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·82 lines (82 loc) · 2.45 KB
/
package.json
File metadata and controls
executable file
·82 lines (82 loc) · 2.45 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"private": true,
"engines": {
"node": ">=0.10.0"
},
"devDependencies": {
"autoprefixer": "^6.3.3",
"babel-cli": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"babelify": "^7.3.0",
"bootstrap-sass": "^3.3.6",
"browserify": "^12.0.0",
"browserify-shim": "^3.8.12",
"eslint": "^2.2.0",
"eslint-plugin-react": "^4.0.0",
"git-directory-deploy": "^1.4.0",
"handlebars": "^4.0.5",
"hbsfy": "^2.5.1",
"imagemin-cli": "^2.1.0",
"jquery": "^2.2.0",
"live-server": "^0.9.2",
"node-sass": "^3.4.2",
"onchange": "^2.0.0",
"parallelshell": "^2.0.0",
"postcss-cli": "^2.5.1",
"strictify": "^0.2.0",
"uglify-js": "^2.6.1",
"underscore": "^1.8.3",
"watchify": "^3.7.0"
},
"scripts": {
"html": "cp app/*.html dist/",
"fonts": "cp -r app/fonts/ dist/fonts/",
"scss": "sass --style compressed --update app/styles:dist/css",
"autoprefixer": "postcss -u autoprefixer -r dist/css/*.css",
"lint": "eslint app/scripts",
"browserify": "browserify app/scripts/index.js | uglifyjs -c > dist/js/bundle.js",
"imagemin": "imagemin app/images dist/images -p",
"favicon": "cp app/favicon.ico dist/",
"build:css": "npm run scss && npm run autoprefixer",
"build:js": "npm run lint && npm run browserify",
"build:images": "npm run imagemin && npm run favicon",
"build": "npm run html && npm run fonts && npm run build:css && npm run build:js && npm run build:images",
"deploy": "npm run build && git-directory-deploy --directory dist/",
"watch:scss": "sass --watch app/styles:dist/css",
"watch:js": "watchify app/scripts/index.js -o dist/js/bundle.js",
"watch:html": "onchange 'app/**/*.html' -- npm run html",
"watch:images": "onchange 'app/images/*' -- npm run build:images",
"watch:fonts": "onchange 'app/fonts/*' -- npm run fonts",
"server": "live-server --open='dist'",
"watch": "parallelshell 'npm run watch:html' 'npm run watch:scss' 'npm run watch:images' 'npm run watch:fonts' 'npm run watch:js' 'npm run server'"
},
"browserify": {
"transform": [
[
"babelify",
{
"presets": [
"es2015"
]
}
],
"browserify-shim",
"hbsfy",
"strictify"
]
},
"browserify-shim": {
"jQuery": "$",
"underscore": "_"
},
"strictify": {
"exclude": [
".handlebars",
".hbs",
"json"
]
},
"dependencies": {
"moment": "^2.18.1"
}
}