|
7 | 7 | "access": "public" |
8 | 8 | }, |
9 | 9 | "scripts": { |
10 | | - "build": "babel src --copy-files --extensions .tsx,.ts,.js,.jsx --out-dir dist", |
11 | | - "build:production": "npm run build && npm run declarations -- --project tsconfig.release.json", |
12 | | - "build-storybook": "build-storybook -s ./public", |
13 | | - "cleanDist": "rm -rf dist", |
14 | | - "dashboard": "STORYBOOK_DASHBOARD=true start-storybook -p 6060 -c .storybook -s ./public", |
15 | | - "declarations": "tsc --emitDeclarationOnly", |
16 | | - "ifPublish:declarations": "if test \"$PUBLISH_DECLARATIONS\" = \"true\" ; then (npm run -s declarations || true) ; fi", |
17 | | - "lint": "eslint ./src --ext=.jsx,.js,.tsx,.ts", |
| 10 | + "build:babel": "babel src --copy-files --extensions .tsx,.ts,.js,.jsx --out-dir dist", |
| 11 | + "build:declarations": "tsc --emitDeclarationOnly --project tsconfig.release.json", |
| 12 | + "build": "concurrently -n babel,tsc -c yellow,blue -P 'npm:build:babel -- {@}' 'npm:build:declarations -- {@}' --", |
| 13 | + "nuke:dist": "rm -rf dist", |
18 | 14 | "patchTS": "ts-patch install -s", |
19 | | - "portal": "STORYBOOK_PORTAL=true start-storybook -p 7070 -c .storybook -s ./public", |
20 | | - "storybook": "start-storybook -p 8080 -c .storybook -s ./public", |
| 15 | + "prepare": "npm run patchTS", |
21 | 16 | "test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --config=jest.config.ts", |
22 | | - "watch": "npm run cleanDist && (concurrently -n babel,tsc -c yellow,blue \"npm run build -- --watch\" \"npm run declarations -- --watch\")", |
23 | | - "watchnew": "npm run cleanDist && (concurrently -n babel,tsc -c yellow,blue \"npm run build -- --watch\")" |
| 17 | + "test:watch": "npm test -- --watch", |
| 18 | + "watch": "npm run nuke:dist && npm run build -- --watch" |
24 | 19 | }, |
25 | 20 | "repository": { |
26 | 21 | "type": "git", |
|
0 commit comments