|
61 | 61 | "warun": "^1.0.0" |
62 | 62 | }, |
63 | 63 | "scripts": { |
64 | | - "prebuild": "npm run -s clean", |
65 | 64 | "build": "tsdown", |
66 | | - "clean": "rimraf .nyc_output .temp coverage", |
| 65 | + "clean": "rimraf .nyc_output coverage", |
67 | 66 | "coverage": "opener ./coverage/lcov-report/index.html", |
68 | 67 | "lint": "eslint src test package.json", |
69 | 68 | "pretest": "run-s build lint", |
|
77 | 76 | "postversion": "git push && git push --tags", |
78 | 77 | "prewatch": "npm run -s clean", |
79 | 78 | "watch": "run-p watch:*", |
80 | | - "watch:tsc": "tsc --module es2015 --watch", |
81 | | - "watch:rollup": "wait-on .temp/index.js && rollup -c -o index.js --watch", |
82 | | - "watch:test": "wait-on index.js && warun index.js \"test/*.js\" \"test/fixtures/ast/*/*.json\" \"test/fixtures/*\" --debounce 1000 --no-initial -- nyc mocha \"test/*.js\" --reporter dot --timeout 10000", |
83 | | - "watch:update-ast": "wait-on index.js && warun index.js \"test/fixtures/ast/*/*.vue\" -- node scripts/update-fixtures-ast.js", |
| 79 | + "watch:tsdown": "tsdown --watch", |
| 80 | + "watch:test": "wait-on dist/index.js && warun dist/index.js \"test/*.js\" \"test/fixtures/ast/*/*.json\" \"test/fixtures/*\" --debounce 1000 --no-initial -- nyc mocha \"test/*.js\" --reporter dot --timeout 10000", |
| 81 | + "watch:update-ast": "wait-on dist/index.js && warun dist/index.js \"test/fixtures/ast/*/*.vue\" -- node scripts/update-fixtures-ast.js", |
84 | 82 | "watch:coverage-report": "wait-on coverage/lcov-report/index.html && opener coverage/lcov-report/index.html" |
85 | 83 | }, |
86 | 84 | "repository": { |
|
0 commit comments