aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json18
1 files changed, 14 insertions, 4 deletions
diff --git a/package.json b/package.json
index 4fee0e8..de09a33 100644
--- a/package.json
+++ b/package.json
@@ -2,10 +2,12 @@
"name": "vim-vixen",
"description": "Vim vixen",
"scripts": {
+ "schema": "ajv compile -s src/shared/settings/schema.json -o src/shared/settings/validate.js",
"start": "webpack --mode development -w --debug --devtool inline-source-map",
"build": "NODE_ENV=production webpack --mode production --progress --display-error-details --devtool inline-source-map",
"package": "npm run build && script/package",
- "lint": "eslint --ext .js,.jsx,.ts,.tsx src",
+ "lint": "eslint --ext .ts,.tsx .",
+ "lint:fix": "eslint --ext .ts,.tsx . --fix",
"type-checks": "tsc --noEmit",
"test": "karma start",
"test:e2e": "mocha --timeout 10000 --retries 10 --require ts-node/register --extension ts e2e"
@@ -30,15 +32,21 @@
"@types/react": "^16.9.2",
"@types/react-dom": "^16.9.0",
"@types/react-redux": "^7.1.2",
+ "@types/react-test-renderer": "^16.9.0",
"@types/redux-promise": "^0.5.28",
"@types/selenium-webdriver": "^4.0.2",
"@types/sinon": "^7.0.13",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
+ "ajv": "^6.10.2",
+ "ajv-cli": "^3.0.0",
"chai": "^4.2.0",
"css-loader": "^3.2.0",
"eslint": "^6.2.2",
+ "eslint-config-prettier": "^6.7.0",
+ "eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.14.3",
+ "eslint-plugin-standard": "^4.0.1",
"express": "^4.17.1",
"html-webpack-plugin": "^3.2.0",
"jsonwebtoken": "^8.5.1",
@@ -53,7 +61,9 @@
"karma-webpack": "^4.0.2",
"lanthan": "0.0.2",
"mocha": "^6.2.0",
- "node-sass": "^4.12.0",
+ "node-sass": "^4.13.0",
+ "prettier": "^1.19.1",
+ "prettier-eslint": "^9.0.1",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-redux": "^7.1.1",
@@ -68,10 +78,10 @@
"style-loader": "^1.0.0",
"ts-loader": "^6.0.4",
"ts-node": "^8.4.1",
- "tsyringe": "^3.3.0",
+ "tsyringe": "^4.0.0",
"typescript": "^3.6.2",
"web-ext-types": "^3.2.1",
- "webextensions-api-fake": "^0.8.0",
+ "webextensions-api-fake": "^0.9.0",
"webpack": "^4.39.2",
"webpack-cli": "^3.3.7"
}