Add npm and React boilerplate
This commit is contained in:
parent
c60886b65e
commit
00d30ea36b
9 changed files with 11849 additions and 131 deletions
40
package.json
Normal file
40
package.json
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
"name": "tofu-ui",
|
||||
"version": "0.0.1",
|
||||
"description": "React frontend for Tofu - a to-do list app with a twist.",
|
||||
"main": "dist/build.js",
|
||||
"scripts": {
|
||||
"build:dev": "rollup -c rollup.config.js",
|
||||
"build:prod": "NODE_ENV=production rollup -c rollup.config.js",
|
||||
"browse": "browser-sync start --s --ss build --index src/html/index.html --files dist/* --no-notify",
|
||||
"start": "npm-run-all --parallel watch browse",
|
||||
"watch": "rollup -c rollup.config.js -w",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git@git.0xbd.space:binaryDiv/tofu-ui.git"
|
||||
},
|
||||
"author": "binaryDiv",
|
||||
"license": "BlueOak-1.0.0",
|
||||
"devDependencies": {
|
||||
"@babel/plugin-transform-runtime": "^7.16.4",
|
||||
"@babel/preset-env": "^7.16.4",
|
||||
"@babel/preset-react": "^7.16.0",
|
||||
"@rollup/plugin-babel": "^5.3.0",
|
||||
"@rollup/plugin-commonjs": "^21.0.1",
|
||||
"@rollup/plugin-node-resolve": "^13.1.1",
|
||||
"@rollup/plugin-replace": "^3.0.0",
|
||||
"babel-plugin-styled-components": "^2.0.2",
|
||||
"browser-sync": "^2.27.7",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"prop-types": "^15.8.1",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"rollup": "^2.58.0",
|
||||
"rollup-plugin-node-globals": "^1.4.0",
|
||||
"rollup-plugin-styles": "^4.0.0",
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"styled-components": "^5.3.3"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue