-
- Downloads
Refactor front using preact
Showing
- .babelrc 2 additions, 2 deletions.babelrc
- .eslintrc 10 additions, 1 deletion.eslintrc
- front/cssStringify.js 0 additions, 13 deletionsfront/cssStringify.js
- front/diffNodes.js 0 additions, 24 deletionsfront/diffNodes.js
- front/display.js 0 additions, 64 deletionsfront/display.js
- front/setup.js 0 additions, 7 deletionsfront/setup.js
- front/src/App.js 41 additions, 0 deletionsfront/src/App.js
- front/src/Row.js 53 additions, 0 deletionsfront/src/Row.js
- front/src/config.js 0 additions, 0 deletionsfront/src/config.js
- front/src/index.html 2 additions, 3 deletionsfront/src/index.html
- front/src/index.js 20 additions, 0 deletionsfront/src/index.js
- front/src/socket.js 14 additions, 0 deletionsfront/src/socket.js
- front/src/style.css 1 addition, 1 deletionfront/src/style.css
- package.json 9 additions, 6 deletionspackage.json
- yarn.lock 210 additions, 313 deletionsyarn.lock
front/cssStringify.js
deleted
100644 → 0
front/diffNodes.js
deleted
100644 → 0
front/display.js
deleted
100644 → 0
front/setup.js
deleted
100644 → 0
front/src/App.js
0 → 100644
front/src/Row.js
0 → 100644
File moved
front/src/socket.js
0 → 100644
... | ... | @@ -9,27 +9,30 @@ |
"start": "yarn start:dev", | ||
"start:dev": "nodemon ./server/index.js", | ||
"start:prod": "node ./server/index.js", | ||
"start:front": "parcel serve ./front/ -d build", | ||
"start:front": "parcel serve ./front/src/ -d build", | ||
"build:front": | ||
"rm -f build/* && parcel build ./front/ -d build --public-url / --no-cache && mv build/*.html build/index.html", | ||
"rm -f ./front/build/* && parcel build ./front/src/index.html -d ./front/build --public-url / --no-cache", | ||
"sslGenKey": "openssl genrsa 2048 > key.pem", | ||
"sslGenCert": "openssl req -x509 -days 1000 -new -key key.pem -out cert.pem", | ||
"sslGen": "npm run sslGenKey && npm run sslGenCert" | ||
}, | ||
"dependencies": { | ||
"hyperscript": "^2.0.2", | ||
"css-in-js-stringify": "^1.0.0", | ||
"jsonwebtoken": "^8.1.1", | ||
"node-fetch": "^2.0.0", | ||
"parcel-bundler": "^1.5.1", | ||
"preact": "^8.2.7", | ||
"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", | ||
"babel-plugin-transform-class-properties": "^6.24.1", | ||
"babel-preset-preact": "^1.1.0", | ||
"eslint": "^4.17.0", | ||
"eslint-config-airbnb-base": "^12.1.0", | ||
"eslint-config-airbnb": "^16.1.0", | ||
"eslint-plugin-import": "^2.8.0", | ||
"eslint-plugin-jsx-a11y": "^6.0.3", | ||
"eslint-plugin-react": "^7.4.0", | ||
"nodemon": "^1.14.12" | ||
} | ||
} |
This diff is collapsed.
Please register or sign in to comment