|
10 | 10 | ],
|
11 | 11 | "funding": "https://github.com/sponsors/ota-meshi",
|
12 | 12 | "license": "MIT",
|
13 |
| - "packageManager": "[email protected]", |
| 13 | + "packageManager": "[email protected]", |
14 | 14 | "engines": {
|
15 | 15 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
16 | 16 | },
|
|
25 | 25 | "parser"
|
26 | 26 | ],
|
27 | 27 | "scripts": {
|
28 |
| - "benchmark": "yarn ts benchmark/index.ts", |
29 |
| - "build": "yarn build:meta && yarn build:tsc", |
30 |
| - "build:meta": "yarn ts ./tools/update-meta.ts", |
| 28 | + "benchmark": "pnpm run ts benchmark/index.ts", |
| 29 | + "build": "pnpm run build:meta && pnpm run build:tsc", |
| 30 | + "build:meta": "pnpm run ts ./tools/update-meta.ts", |
31 | 31 | "build:tsc": "tsc --project ./tsconfig.build.json",
|
32 | 32 | "clean": "rimraf .nyc_output lib coverage",
|
33 |
| - "cover": "nyc --reporter=lcov yarn test", |
34 |
| - "debug": "yarn mocha \"tests/src/**/*.ts\" --reporter dot --timeout 60000", |
35 |
| - "eslint-fix": "yarn lint --fix", |
36 |
| - "eslint-playground": "eslint tests/fixtures --ext .svelte --config .eslintrc-for-playground.js --format codeframe", |
| 33 | + "cover": "nyc --reporter=lcov pnpm run test", |
| 34 | + "debug": "pnpm run mocha \"tests/src/**/*.ts\" --reporter dot --timeout 60000", |
| 35 | + "eslint-fix": "pnpm run lint --fix", |
37 | 36 | "lint": "eslint . --ext .js,.ts,.json,.yaml,.yml,.svelte",
|
38 |
| - "mocha": "yarn ts ./node_modules/mocha/bin/mocha.js", |
39 |
| - "prebuild": "yarn clean", |
40 |
| - "prerelease": "yarn clean && yarn build", |
41 |
| - "preversion": "yarn lint && yarn test", |
| 37 | + "mocha": "pnpm run ts ./node_modules/mocha/bin/mocha.js", |
| 38 | + "prebuild": "pnpm run clean", |
| 39 | + "prerelease": "pnpm run clean && pnpm run build", |
| 40 | + "preversion": "pnpm run lint && pnpm run test", |
42 | 41 | "release": "changeset publish",
|
43 |
| - "test": "yarn mocha \"tests/src/**/*.ts\" --reporter dot --timeout 60000", |
| 42 | + "test": "pnpm run mocha \"tests/src/**/*.ts\" --reporter dot --timeout 60000", |
44 | 43 | "ts": "node -r esbuild-register",
|
45 |
| - "update-fixtures": "yarn ts ./tools/update-fixtures.ts", |
46 |
| - "version:ci": "env-cmd -e version-ci yarn build:meta && changeset version" |
| 44 | + "update-fixtures": "pnpm run ts ./tools/update-fixtures.ts", |
| 45 | + "version:ci": "env-cmd -e version-ci pnpm run build:meta && changeset version" |
47 | 46 | },
|
48 | 47 | "peerDependencies": {
|
49 | 48 | "svelte": "^3.37.0"
|
|
61 | 60 | "devDependencies": {
|
62 | 61 | "@changesets/changelog-github": "^0.4.6",
|
63 | 62 | "@changesets/cli": "^2.24.2",
|
| 63 | + "@changesets/get-release-plan": "^3.0.0", |
64 | 64 | "@ota-meshi/eslint-plugin": "^0.13.0",
|
65 | 65 | "@types/benchmark": "^2.1.1",
|
66 | 66 | "@types/chai": "^4.3.0",
|
67 | 67 | "@types/eslint": "^8.0.0",
|
68 | 68 | "@types/eslint-scope": "^3.7.0",
|
69 | 69 | "@types/eslint-visitor-keys": "^1.0.0",
|
| 70 | + "@types/estree": "^1.0.0", |
70 | 71 | "@types/mocha": "^10.0.0",
|
71 | 72 | "@types/node": "^18.11.0",
|
72 | 73 | "@types/semver": "^7.3.9",
|
|
78 | 79 | "esbuild": "^0.17.0",
|
79 | 80 | "esbuild-register": "^3.3.3",
|
80 | 81 | "eslint": "^8.2.0",
|
81 |
| - "eslint-config-prettier": "^8.3.0", |
| 82 | + "eslint-config-prettier": "^8.8.0", |
82 | 83 | "eslint-plugin-eslint-comments": "^3.2.0",
|
83 | 84 | "eslint-plugin-json-schema-validator": "^4.0.0",
|
84 | 85 | "eslint-plugin-jsonc": "^2.0.0",
|
|
88 | 89 | "eslint-plugin-regexp": "^1.5.0",
|
89 | 90 | "eslint-plugin-svelte": "^2.0.0",
|
90 | 91 | "eslint-plugin-svelte3": "^4.0.0",
|
91 |
| - "eslint-plugin-vue": "^9.0.0", |
92 | 92 | "eslint-plugin-yml": "^1.0.0",
|
93 | 93 | "estree-walker": "^3.0.0",
|
94 | 94 | "locate-character": "^2.0.5",
|
95 | 95 | "magic-string": "^0.30.0",
|
96 | 96 | "mocha": "^10.0.0",
|
97 | 97 | "mocha-chai-jest-snapshot": "^1.1.3",
|
98 | 98 | "nyc": "^15.1.0",
|
99 |
| - "prettier": "^2.0.5", |
| 99 | + "prettier": "^2.8.0", |
100 | 100 | "prettier-plugin-pkg": "^0.17.0",
|
101 |
| - "prettier-plugin-svelte": "^2.5.0", |
| 101 | + "prettier-plugin-svelte": "^2.10.0", |
| 102 | + "rimraf": "^5.0.0", |
102 | 103 | "semver": "^7.3.5",
|
103 | 104 | "string-replace-loader": "^3.0.3",
|
104 | 105 | "svelte": "^3.57.0",
|
|
0 commit comments