-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
31 lines (31 loc) · 1.16 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
{
"name": "history-server",
"private": true,
"scripts": {
"clean": "rm -rf ./dist/*",
"setup": "mkdir -p ./dist/css && mkdir -p ./dist/fonts && mkdir -p ./dist/img && mkdir -p ./dist/js",
"make_font": "cp -r ./static/fonts ./dist/",
"make_scss": "node-sass ./static/css/app.scss --output-style compressed ./dist/css/app.css",
"make_css": "cp ./static/css/*.css ./dist/css/",
"make_img": "cp -r ./static/img ./dist/",
"make_html": "cp ./static/*.html ./dist/",
"pkg_sources": "npm run make_font && npm run make_scss && npm run make_css && npm run make_img && npm run make_html",
"make_js": "webpack -d --display-error-details",
"make_js_prod": "webpack -p",
"dev": "npm run setup && npm run pkg_sources && npm run make_js",
"prod": "npm run clean && npm run setup && npm run pkg_sources && npm run make_js_prod"
},
"dependencies": {
"react": "^15.4.2",
"react-dom": "^15.4.2",
"react-router": "3.0.5"
},
"devDependencies": {
"node-sass": "^3.7.0",
"babel-core": "^6.4.1",
"babel-loader": "^6.4.1",
"babel-preset-es2015": "^6.4.1",
"babel-preset-react": "^6.4.1",
"webpack": "^2.2.0"
}
}