forked from jesseadams/nike-inc.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
55 lines (55 loc) · 1.76 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
52
53
54
55
{
"name": "nike-inc.github.io",
"version": "1.1.0",
"description": "Nike Open Source Software Github Page",
"main": "index.js",
"scripts": {
"clean": "rm -f dist/{css/*,js/*,img/*}",
"build-all": "npm run build-js && npm run build-css",
"build-min-all": "npm run build-min-js && npm run build-min-css",
"build-js": "browserify src/js/app.js -o dist/js/app.js",
"build-css": "",
"build-min-js": "browserify src/js/app.js | uglifyjs -o dist/js/app.min.js",
"build-min-css": "cat src/css/*.css | cleancss -o dist/css/main.min.css",
"watch-js": "onchange 'src/js/**/*.js' -- npm run build-min-js",
"watch-css": "onchange 'src/css/**/*.css' -e 'src/css/main.css' -- npm run build-min-css",
"dev": "npm-run-all -p build-n-serve watch-css watch-js",
"serve": "http-server -c-1 -o",
"build-n-serve": "npm run build-min-all && npm run serve"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nike-inc/nike-inc.github.io.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/nike-inc/nike-inc.github.io/issues"
},
"homepage": "https://github.com/nike-inc/nike-inc.github.io#readme",
"devDependencies": {
"babel-preset-es2015": "^6.5.0",
"babelify": "^7.2.0",
"browserify": "^13.0.1",
"clean-css": "^3.4.13",
"http-server": "^0.9.0",
"node-sass": "^3.7.0",
"nodemon": "^1.9.2",
"npm-run-all": "^1.5.1",
"onchange": "^2.0.0",
"uglify-js": "^2.6.1",
"uglifyjs": "^2.4.10"
},
"dependencies": {
"bootstrap-material-design": "github:fezvrasta/bootstrap-material-design#v4-dev",
"github-api": "^2.1.0",
"mithril": "^0.2.5"
},
"browserify": {
"transform": [
["babelify", {
"presets": ["es2015"]
}]
]
}
}