|
16 | 16 | "build": "npm run build-downlevel-dts && tsc --project tsconfig.build.plugin.json && tsc --project tsconfig.build.insertStyle.json",
|
17 | 17 | "build-downlevel-dts": "node scripts/clean-and-run-downlevel-dts.js",
|
18 | 18 | "downlevel-dts": "downlevel-dts . ts3.5 [--to=3.5]",
|
19 |
| - "test": "nyc --reporter=html --reporter=text ava ./test/*.test.ts -s && npm run test:rollup.config.spec.ts", |
| 19 | + "test": "nyc --reporter=html --reporter=text ava && npm run test:rollup.config.spec.ts", |
20 | 20 | "coverage": "nyc report --reporter=text-lcov | coveralls",
|
21 | 21 | "output-coverage-lcov": "nyc report --reporter=text-lcov > coverage/tests.lcov",
|
22 | 22 | "test:rollup.config.spec.ts": "tsc --project tsconfig.spec.json --noEmit",
|
|
50 | 50 | "dist"
|
51 | 51 | ],
|
52 | 52 | "ava": {
|
| 53 | + "files": [ |
| 54 | + "./test/*.test.ts" |
| 55 | + ], |
53 | 56 | "extensions": [
|
54 | 57 | "ts"
|
55 | 58 | ],
|
|
64 | 67 | "sass": "^1.7.2"
|
65 | 68 | },
|
66 | 69 | "devDependencies": {
|
67 |
| - "@ava/typescript": "^3.0.1", |
| 70 | + "@ava/typescript": "^5.0.0", |
68 | 71 | "@commitlint/cli": "^19.3.0",
|
69 | 72 | "@commitlint/config-conventional": "^19.2.2",
|
| 73 | + "@types/icss-utils": "^5.1.2", |
70 | 74 | "@types/node": "^18.14.6",
|
71 | 75 | "@types/resolve": "^0.0.8",
|
72 |
| - "ava": "^4.3.1", |
| 76 | + "@types/sinon": "^17.0.3", |
| 77 | + "ava": "^6.1.3", |
73 | 78 | "coveralls-next": "^4.2.1",
|
74 | 79 | "downlevel-dts": "^0.10.0",
|
75 | 80 | "eslint": "^7.32.0",
|
| 81 | + "happy-dom": "^14.12.3", |
76 | 82 | "husky": "^9.0.11",
|
77 | 83 | "icss-utils": "^5.1.0",
|
78 |
| - "jsdom": "^17.0.0", |
79 |
| - "nyc": "^15.1.0", |
| 84 | + "nyc": "^17.0.0", |
80 | 85 | "postcss": "^8.4.16",
|
81 | 86 | "rollup": "^1 || ^2 || ^3",
|
82 |
| - "sinon": "^7.2.2", |
| 87 | + "sinon": "^18.0.0", |
83 | 88 | "ts-node": "^10.9.1",
|
84 | 89 | "typescript": "^4.7.4"
|
85 | 90 | },
|
|
0 commit comments