|
12 | 12 | ], |
13 | 13 | "type": "module", |
14 | 14 | "scripts": { |
15 | | - "build:html-to-text": "cd ./packages/html-to-text/ && npm run build", |
16 | | - "build:html-to-text-cli": "cd ./packages/html-to-text-cli/ && npm run build", |
17 | | - "build:html-to-md": "cd ./packages/html-to-md/ && npm run build", |
| 15 | + "build:html-to-text": "npm run build -w ./packages/html-to-text", |
| 16 | + "build:html-to-text-cli": "npm run build -w ./packages/html-to-text-cli", |
| 17 | + "build:html-to-md": "npm run build -w ./packages/html-to-md", |
18 | 18 | "build": "npm run build:html-to-text && npm run build:html-to-text-cli && npm run build:html-to-md", |
19 | | - "cover:html-to-text": "cd ./packages/html-to-text/ && npm run cover", |
20 | | - "cover:html-to-md": "cd ./packages/html-to-md/ && npm run cover", |
| 19 | + "cover:html-to-text": "npm run cover -w ./packages/html-to-text", |
| 20 | + "cover:html-to-md": "npm run cover -w ./packages/html-to-md", |
21 | 21 | "cover": "concurrently npm:cover:*", |
22 | 22 | "example:md": "node --experimental-specifier-resolution=node ./example/html-to-md.js", |
23 | 23 | "example:text": "node --experimental-specifier-resolution=node ./example/html-to-text.js", |
24 | 24 | "lint": "eslint .", |
25 | | - "test:html-to-text": "cd ./packages/html-to-text/ && npm run test", |
26 | | - "test:html-to-md": "cd ./packages/html-to-md/ && npm run test", |
| 25 | + "test:html-to-text": "npm run test -w ./packages/html-to-text", |
| 26 | + "test:html-to-md": "npm run test -w ./packages/html-to-md", |
27 | 27 | "test": "concurrently npm:test:*" |
28 | 28 | }, |
29 | 29 | "devDependencies": { |
|
0 commit comments