aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json30
1 files changed, 20 insertions, 10 deletions
diff --git a/package.json b/package.json
index 22f5bd56..1a6ebf84 100644
--- a/package.json
+++ b/package.json
@@ -5,16 +5,16 @@
"directories": {
"test": "test"
},
+ "type": "module",
"scripts": {
- "postinstall": "node ./dev/patch-dependencies.js",
- "build": "node ./dev/build.js",
- "test": "npm run test-lint && npm run test-lint-css && npm run test-lint-html && npm run test-code && npm run test-manifest && npm run test-build",
- "test-lint": "npx eslint . && node ./dev/lint/global-declarations.js && node ./dev/lint/html-scripts.js",
+ "build": "node ./dev/bin/build.js",
+ "build-libs": "node ./dev/bin/build-libs.js",
+ "test": "npm run test-lint-js && npm run test-lint-css && npm run test-lint-html && npm run test-code && npm run test-build",
+ "test-lint-js": "npx eslint .",
"test-lint-css": "npx stylelint \"ext/**/*.css\" \"test/**/*.css\" \"dev/**/*.css\"",
"test-lint-html": "npx html-validate \"ext/**/*.html\" \"test/**/*.html\" \"dev/**/*.html\"",
- "test-code": "node ./test/test-all.js ./test --skip ./test/test-manifest.js",
- "test-manifest": "node ./test/test-manifest.js",
- "test-build": "node ./dev/build.js --dry-run --all"
+ "test-code": "vitest run",
+ "test-build": "node ./dev/bin/build.js --dry-run --all"
},
"repository": {
"type": "git",
@@ -36,19 +36,29 @@
},
"devDependencies": {
"@playwright/test": "^1.39.0",
- "ajv": "^8.11.0",
- "browserify": "^17.0.0",
+ "@types/node": "^20.8.10",
+ "@vitest/coverage-v8": "^0.34.6",
+ "@zip.js/zip.js": "^2.7.30",
+ "ajv": "^8.12.0",
"css": "^3.0.0",
+ "dexie": "^3.2.4",
+ "dexie-export-import": "^4.0.7",
+ "esbuild": "^0.19.5",
"eslint": "^8.52.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-plugin-jsonc": "^2.10.0",
"eslint-plugin-no-unsanitized": "^4.0.1",
+ "eslint-plugin-vitest": "^0.3.9",
"fake-indexeddb": "^5.0.1",
+ "handlebars": "^4.7.8",
"html-validate": "^8.7.0",
"jsdom": "^22.1.0",
+ "jszip": "^3.10.1",
"parse5": "^7.1.2",
"stylelint": "^15.11.0",
- "stylelint-config-recommended": "^13.0.0"
+ "stylelint-config-recommended": "^13.0.0",
+ "vitest": "^0.34.6",
+ "wanakana": "^5.2.0"
}
}