aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json15
1 files changed, 12 insertions, 3 deletions
diff --git a/package.json b/package.json
index 0b7aae2..27fd577 100644
--- a/package.json
+++ b/package.json
@@ -7,9 +7,12 @@
"babel": "babel ui.js -o ui.b.js",
"webpack": "webpack",
"deploy": "cross-env NODE_ENV=production webpack -p",
- "test": "echo \"Error: no test specified\" && exit 1",
+ "test": "jest",
+ "test:coverage": "jest --coverage",
"build": "webpack --config webpack.config.js",
- "start": "webpack-dev-server --config webpack.config.js"
+ "start": "webpack serve --config webpack.config.js",
+ "lint": "eslint . --ext .js",
+ "lint:fix": "eslint --fix . --ext .js"
},
"repository": {
"type": "git",
@@ -22,11 +25,17 @@
"homepage": "https://github.com/AttorneyOnline/webAO#readme",
"devDependencies": {
"@babel/core": "^7.17.5",
+ "@babel/plugin-transform-modules-commonjs": "^7.16.8",
"@babel/preset-env": "^7.16.11",
"babel-loader": "^8.2.3",
+ "dotenv": "^16.0.0",
"eslint": "^8.10.0",
+ "eslint-config-airbnb-base": "^15.0.0",
+ "eslint-plugin-import": "^2.25.4",
+ "jest": "^27.5.1",
"webpack": "^5.69.1",
- "webpack-cli": "^4.9.2"
+ "webpack-cli": "^4.9.2",
+ "webpack-dev-server": "^4.7.4"
},
"dependencies": {
"@fingerprintjs/fingerprintjs": "^3.3.3",