|
2 | 2 | "name": "vue-eslint-parser", |
3 | 3 | "version": "10.2.0", |
4 | 4 | "description": "The ESLint custom parser for `.vue` files.", |
5 | | - "main": "index.js", |
| 5 | + "main": "dist/index.js", |
6 | 6 | "files": [ |
7 | | - "index.*" |
| 7 | + "dist" |
8 | 8 | ], |
9 | 9 | "engines": { |
10 | 10 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0" |
|
38 | 38 | "@vitest/ui": "^3.2.4", |
39 | 39 | "chokidar": "^3.5.2", |
40 | 40 | "cross-spawn": "^7.0.3", |
41 | | - "dts-bundle": "^0.7.3", |
42 | 41 | "eslint": "^9.19.0", |
43 | 42 | "eslint-plugin-eslint-comments": "^3.2.0", |
44 | 43 | "eslint-plugin-jsonc": "^2.19.1", |
|
50 | 49 | "jsonc-eslint-parser": "^2.0.3", |
51 | 50 | "npm-run-all": "^4.1.5", |
52 | 51 | "prettier": "^3.4.2", |
53 | | - "rimraf": "^3.0.2", |
54 | | - "rollup": "^2.60.0", |
55 | | - "rollup-plugin-node-resolve": "^5.2.0", |
56 | | - "rollup-plugin-replace": "^2.2.0", |
57 | | - "rollup-plugin-sourcemaps": "^0.6.3", |
58 | 52 | "ts-node": "^10.9.2", |
| 53 | + "tsdown": "^0.12.9", |
59 | 54 | "typescript": "~5.7.3", |
60 | 55 | "vite": "^6.3.5", |
61 | 56 | "vitest": "^3.2.4", |
62 | 57 | "wait-on": "^6.0.0", |
63 | 58 | "warun": "^1.0.0" |
64 | 59 | }, |
65 | 60 | "scripts": { |
66 | | - "prebuild": "npm run -s clean", |
67 | | - "build": "tsc --module es2015 && rollup -c -o index.js && dts-bundle --name vue-eslint-parser --main .temp/index.d.ts --out ../index.d.ts", |
68 | | - "clean": "rimraf .temp index.*", |
| 61 | + "build": "tsdown", |
69 | 62 | "coverage": "vitest --coverage --ui", |
70 | 63 | "lint": "eslint src test package.json", |
71 | 64 | "test": "vitest", |
|
74 | 67 | "preversion": "npm test", |
75 | 68 | "version": "npm run -s build", |
76 | 69 | "postversion": "git push && git push --tags", |
77 | | - "prewatch": "npm run -s clean", |
78 | 70 | "watch": "run-p watch:*", |
79 | | - "watch:tsc": "tsc --module es2015 --watch", |
80 | | - "watch:rollup": "wait-on .temp/index.js && rollup -c -o index.js --watch", |
81 | | - "watch:update-ast": "wait-on index.js && warun index.js \"test/fixtures/ast/*/*.vue\" -- ts-node scripts/update-fixtures-ast.js" |
| 71 | + "watch:tsdown": "tsdown --watch", |
| 72 | + "watch:update-ast": "wait-on dist/index.js && warun dist/index.js \"test/fixtures/ast/*/*.vue\" -- ts-node scripts/update-fixtures-ast.js" |
82 | 73 | }, |
83 | 74 | "repository": { |
84 | 75 | "type": "git", |
|
0 commit comments