Complete overhaul of code structure and relevant files (#639)
This commit is contained in:
14
package.json
14
package.json
@@ -11,11 +11,11 @@
|
||||
"Orteil"
|
||||
],
|
||||
"scripts": {
|
||||
"check_lint": "eslint src",
|
||||
"combine": "terser ./dist/Header.js ./dist/Cache.js ./dist/Config.js ./dist/Data.js ./dist/Disp.js ./dist/Main.js ./dist/Sim.js ./dist/Footer.js -o CookieMonster.js",
|
||||
"build": "run-s check_lint pack combine",
|
||||
"build-test": "run-s pack combine",
|
||||
"pack": "webpack"
|
||||
"eslint_src": "eslint src",
|
||||
"build": "run-s eslint_src pack_prod",
|
||||
"build_test": "run-s pack_dev",
|
||||
"pack_prod": "webpack --env production",
|
||||
"pack_dev": "webpack"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -46,7 +46,6 @@
|
||||
"eslint-config-airbnb-base": "^14.2.1",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"terser": "^5.6.0-beta",
|
||||
"webpack": "^5.24.4",
|
||||
"webpack-cli": "^4.5.0"
|
||||
},
|
||||
@@ -56,5 +55,8 @@
|
||||
0
|
||||
],
|
||||
"name": "Cookie Monster"
|
||||
},
|
||||
"dependencies": {
|
||||
"@eastdesire/jscolor": "^2.4.5"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user