|
27 | 27 | "build:docs": "cd docs && JEKYLL_ENV=production bundle exec jekyll build", |
28 | 28 | "clean": "tsc --build --clean", |
29 | 29 | "lint": "eslint . --ignore-path .gitignore", |
30 | | - "pretest": "npm run build", |
31 | | - "test": "npm run lint && karma start test/karma.config.cjs", |
| 30 | + "pretest": "npm run build && npm run lint", |
| 31 | + "test": "web-test-runner test/*.js --node-resolve", |
32 | 32 | "postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'" |
33 | 33 | }, |
34 | 34 | "prettier": "@github/prettier-config", |
35 | 35 | "devDependencies": { |
36 | 36 | "@github/prettier-config": "^0.0.4", |
37 | 37 | "@lhci/cli": "^0.7.0", |
| 38 | + "@open-wc/testing": "^3.1.2", |
38 | 39 | "@typescript-eslint/eslint-plugin": "^5.16.0", |
39 | 40 | "@typescript-eslint/parser": "^5.16.0", |
40 | | - "chai": "^4.3.0", |
41 | | - "chai-spies": "^1.0.0", |
42 | | - "chromium": "^3.0.3", |
| 41 | + "@web/test-runner": "^0.13.27", |
43 | 42 | "eslint": "^8.12.0", |
44 | 43 | "eslint-plugin-github": "^4.3.6", |
45 | | - "karma": "^6.1.1", |
46 | | - "karma-chai": "^0.1.0", |
47 | | - "karma-chai-spies": "^0.1.4", |
48 | | - "karma-chrome-launcher": "^3.1.0", |
49 | | - "karma-mocha": "^2.0.1", |
50 | | - "karma-mocha-reporter": "^2.2.5", |
51 | | - "mocha": "^8.3.0", |
| 44 | + "sinon": "^13.0.1", |
52 | 45 | "tslib": "^2.3.1", |
53 | 46 | "typescript": "^4.6.3" |
54 | 47 | } |
|
0 commit comments