-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 2.8 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
56
57
58
59
60
61
62
63
{
"name": "upython-frontend",
"version": "1.0.0",
"description": "frontend for upython for the feather huzzah",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"template": "mustache ./build-temp/template-map.json ./src/index.mustache > ./html/index.html",
"template-dev": "mustache ./build-temp/template-map.json ./src/index.mustache > ./build-temp/index.html",
"build-js": "webpack",
"watch-js": "node webpack-dev-server",
"watch-css": "nodemon -e scss -x 'npm run build-css' && 'npm run postbuild-css'",
"build-css": "node-sass src/scss/entry.scss build-temp/build.css",
"postbuild-css": "postcss --use autoprefixer -b 'last 2 versions' --no-map build-temp/build.css -o build-temp/build.css && cssnano build-temp/build.css build-temp/build.css",
"livereload-css": "livereload ./build-temp/build.css",
"dev-file-server": "http-server build-temp -p 3000",
"dev-local": "NODE_ENV=development node map-template.js && npm run template-dev && concurrently --kill-others 'npm run watch-js' 'npm run watch-css' 'npm run dev-file-server' 'npm run livereload-css' 'python3 poly_app.py'",
"dev-remote": "NODE_ENV=development node map-template.js && npm run template-dev && concurrently --kill-others 'REMOTE_SERVER=true npm run watch-js' 'npm run watch-css' 'npm run dev-file-server' 'npm run livereload-css'",
"build": "NODE_ENV=production npm run build-js && npm run build-css && npm run postbuild-css && NODE_ENV=production node map-template.js && npm run template",
"deploy": "./load_firmware.sh && ./load_scripts.sh"
},
"author": "",
"license": "ISC",
"devDependencies": {},
"dependencies": {
"autoprefixer": "^6.6.0",
"babel-core": "^6.16.0",
"babel-loader": "^6.2.5",
"babel-plugin-module-resolver": "^2.5.0",
"babel-plugin-transform-react-jsx": "^6.8.0",
"babel-polyfill": "^6.16.0",
"babel-preset-env": "^1.1.8",
"babel-preset-es2015": "^6.16.0",
"babel-preset-react": "^6.16.0",
"babel-preset-stage-0": "^6.16.0",
"babel-register": "^6.16.3",
"classnames": "^2.2.5",
"concurrently": "^3.2.0",
"cssnano": "^3.10.0",
"cssnano-cli": "^1.0.5",
"dotenv-safe": "^4.0.3",
"express": "^4.14.1",
"http-server": "^0.9.0",
"livereload": "^0.6.0",
"mustache": "^2.3.0",
"node-sass": "^4.5.0",
"nodemon": "^1.11.0",
"postcss": "^5.2.12",
"postcss-cli": "^2.6.0",
"preact": "^7.2.0",
"preact-compat": "^3.13.1",
"rc-css-transition-group": "^2.1.4",
"react": "^15.4.2",
"react-hot-loader": "^1.3.1",
"svg-inline-loader": "^0.7.1",
"svg-inline-react": "^1.0.3",
"webpack": "^2.2.1",
"webpack-dev-middleware": "^1.10.0",
"webpack-dev-server": "^2.3.0",
"webpack-hot-middleware": "^2.16.1",
"whatwg-fetch": "^2.0.2"
}
}