|
14 | 14 | "flow": "flow check", |
15 | 15 | "lint": "eslint --ext js,vue . --ignore-path .gitignore", |
16 | 16 | "lint:docs": "eslint --ext js,vue,md docs --ignore-path .gitignore", |
17 | | - "lint:fix": "npm run lint -- --fix", |
| 17 | + "lint:fix": "yarn lint -- --fix", |
18 | 18 | "format": "prettier --write \"**/*.{js,json,vue,md}\"", |
19 | 19 | "format:check": "prettier --check \"**/*.{js,json,vue,md}\"", |
20 | | - "release": "npm run build && npm run test:unit:only && lerna publish --conventional-commits -m \"chore(release): publish %s\" --cd-version prerelease", |
21 | | - "test": "npm run format:check && npm run lint && npm run lint:docs && npm run flow && npm run test:types && npm run test:unit && npm run test:unit:karma && npm run test:unit:node", |
| 20 | + "release": "yarn build && yarn test:unit:only && lerna publish --conventional-commits -m \"chore(release): publish %s\" --cd-version prerelease", |
| 21 | + "test": "yarn format:check && yarn lint && yarn lint:docs && yarn flow && yarn test:types && yarn test:unit && yarn test:unit:karma && yarn test:unit:node", |
22 | 22 | "test:compat": "scripts/test-compat.sh", |
23 | | - "test:unit": "npm run build:test && npm run test:unit:only", |
| 23 | + "test:unit": "yarn build:test && yarn test:unit:only", |
24 | 24 | "test:unit:only": "mocha-webpack --webpack-config test/setup/webpack.test.config.js test/specs --recursive --require test/setup/mocha.setup.js", |
25 | | - "test:unit:only:dev": "cross-env TARGET=dev yarn run test:unit:only", |
26 | | - "test:unit:debug": "npm run build:test && node --inspect-brk node_modules/.bin/mocha-webpack --webpack-config test/setup/webpack.test.config.js test/specs --recursive --require test/setup/mocha.setup.js", |
27 | | - "test:unit:karma": "npm run build:test && npm run test:unit:karma:only", |
| 25 | + "test:unit:only:dev": "cross-env TARGET=dev yarn test:unit:only", |
| 26 | + "test:unit:debug": "yarn build:test && node --inspect-brk node_modules/.bin/mocha-webpack --webpack-config test/setup/webpack.test.config.js test/specs --recursive --require test/setup/mocha.setup.js", |
| 27 | + "test:unit:karma": "yarn build:test && yarn test:unit:karma:only", |
28 | 28 | "test:unit:karma:only": "cross-env TARGET=browser karma start test/setup/karma.conf.js --single-run", |
29 | | - "test:unit:node": "npm run build:test && npm run test:unit:node:only", |
| 29 | + "test:unit:node": "yarn build:test && yarn test:unit:node:only", |
30 | 30 | "test:unit:node:only": "cross-env TEST_ENV=node mocha-webpack --webpack-config test/setup/webpack.test.config.js test/specs/render.spec.js test/specs/renderToString.spec.js --require test/setup/mocha.setup.js", |
31 | 31 | "test:types": "tsc -p packages/test-utils/types && tsc -p packages/server-test-utils/types" |
32 | 32 | }, |
|
0 commit comments