-
- Downloads
Add hyperscript
Showing
- .babelrc 2 additions, 1 deletion.babelrc
- front/.eslintrc 2 additions, 1 deletionfront/.eslintrc
- front/display.js 50 additions, 61 deletionsfront/display.js
- front/index.html 2 additions, 1 deletionfront/index.html
- front/setup.js 7 additions, 0 deletionsfront/setup.js
- front/socket.js 3 additions, 3 deletionsfront/socket.js
- package.json 3 additions, 2 deletionspackage.json
- yarn.lock 44 additions, 0 deletionsyarn.lock
front/setup.js
0 → 100644
... | ... | @@ -10,16 +10,17 @@ |
"start:dev": "nodemon ./server/index.js", | ||
"start:prod": "node ./server/index.js", | ||
"start:front": "parcel serve ./front/ -d build", | ||
"build:front": | ||
"rm -f build/* && parcel build ./front/ -d build --public-url / --no-cache && mv build/*.html build/index.html" | ||
"build:front": "rm -f build/* && parcel build ./front/ -d build --public-url / --no-cache && mv build/*.html build/index.html" | ||
}, | ||
"dependencies": { | ||
"hyperscript": "^2.0.2", | ||
"node-fetch": "^2.0.0", | ||
"parcel-bundler": "^1.5.1", | ||
"socket.io": "^2.0.4" | ||
}, | ||
"devDependencies": { | ||
"babel-eslint": "^8.2.1", | ||
"babel-plugin-transform-react-jsx": "^6.24.1", | ||
"babel-preset-es2015": "^6.24.1", | ||
"eslint": "^4.17.0", | ||
"eslint-config-airbnb-base": "^12.1.0", | ||
... | ... |
Please register or sign in to comment