|
28 | 28 | }, |
29 | 29 | "scripts": { |
30 | 30 | "build": "run-p -c --aggregate-output build:*", |
31 | | - "build:dist": "run-s build:dist:no_fix build:dist:types lint:dist:fix lint:external:fix", |
32 | | - "build:dist:no_fix": "run-p -c clean:dist clean:external && dotenvx -q run -f .env.local -- rollup -c .config/rollup.dist.config.mjs", |
33 | | - "build:dist:types": "dotenvx -q run -f .env.local -- tsc --project .config/tsconfig.dts.json", |
| 31 | + "build:dist": "run-s build:dist:src build:dist:types lint:dist:fix lint:external:fix", |
| 32 | + "build:dist:src": "run-p -c clean:dist clean:external && dotenvx -q run -f .env.local -- rollup -c .config/rollup.dist.config.mjs", |
| 33 | + "build:dist:types": "npm run clean:dist:types && dotenvx -q run -f .env.local -- tsc --project .config/tsconfig.dts.json", |
34 | 34 | "check": "run-p -c --aggregate-output check:*", |
35 | | - "check:lint": "eslint --report-unused-disable-directives .", |
| 35 | + "check:lint": "dotenvx -q run -f .env.local -- eslint --report-unused-disable-directives .", |
36 | 36 | "check:tsc": "dotenvx -q run -f .env.local -- tsc", |
37 | 37 | "coverage": "run-s coverage:*", |
38 | 38 | "coverage:test": "run-s test:prepare test:unit:coverage", |
39 | 39 | "coverage:type": "dotenvx -q run -f .env.local -- type-coverage --detail", |
40 | 40 | "clean": "run-p -c --aggregate-output clean:*", |
41 | 41 | "clean:cache": "del-cli '.cache'", |
42 | 42 | "clean:dist": "del-cli 'dist'", |
| 43 | + "clean:dist:types": "del-cli 'dist/types'", |
43 | 44 | "clean:external": "del-cli 'external'", |
44 | 45 | "clean:node_modules": "del-cli '**/node_modules'", |
45 | 46 | "fix": "npm run lint:fix", |
|
61 | 62 | "lint-staged": "dotenvx -q run -f .env.local -- lint-staged", |
62 | 63 | "precommit": "dotenvx -q run -f .env.local -- lint-staged", |
63 | 64 | "prepare": "dotenvx -q run -f .env.local -- husky && custompatch", |
64 | | - "bs": "dotenvx -q run -f .env.local -- npm run build:dist:no_fix; npm exec socket --", |
| 65 | + "bs": "dotenvx -q run -f .env.local -- npm run build:dist:src; npm exec socket --", |
65 | 66 | "s": "dotenvx -q run -f .env.local -- npm exec socket --", |
66 | 67 | "test": "run-s check test:*", |
67 | 68 | "test:prepare": "dotenvx -q run -f .env.test -- npm run build && del-cli 'test/**/node_modules'", |
|
0 commit comments