|
13 | 13 | "license": "BSD-3-Clause",
|
14 | 14 | "author": "Project Jupyter",
|
15 | 15 | "main": "dist/index.node.js",
|
16 |
| - "browser": "dist/index.js", |
17 | 16 | "jsdelivr": "dist/index.min.js",
|
18 | 17 | "unpkg": "dist/index.min.js",
|
19 | 18 | "module": "dist/index.es6",
|
20 |
| - "module-node": "dist/index.node.es6", |
| 19 | + "browser": "dist/index.js", |
21 | 20 | "types": "types/index.d.ts",
|
22 | 21 | "files": [
|
23 | 22 | "dist/*",
|
|
26 | 25 | ],
|
27 | 26 | "scripts": {
|
28 | 27 | "api": "api-extractor run --local --verbose",
|
29 |
| - "build": "npm run build:src && rollup -c", |
| 28 | + "build": "yarn build:src && rollup -c", |
30 | 29 | "build:src": "tsc --build",
|
31 |
| - "build:test": "npm run clean:test && tsc --build tests && cd tests && rollup -c", |
| 30 | + "build:test": "yarn clean:test && tsc --build tests && cd tests && rollup -c", |
32 | 31 | "clean": "rimraf ./lib *.tsbuildinfo ./types ./dist",
|
33 | 32 | "clean:test": "rimraf tests/lib tests/tsconfig.tsbuildinfo",
|
34 | 33 | "minimize": "terser dist/index.js -c -m --source-map \"content='dist/index.js.map',url='index.min.js.map'\" -o dist/index.min.js",
|
35 |
| - "test": "npm run build:test && web-test-runner tests/lib/bundle.test.js --node-resolve --playwright", |
36 |
| - "test:debug": "npm run test -- --manual --open", |
37 |
| - "test:chromium": "npm run test -- --browsers chromium", |
38 |
| - "test:firefox": "npm run test -- --browsers firefox", |
39 |
| - "test:webkit": "npm run test -- --browsers webkit", |
| 34 | + "test": "yarn build:test && web-test-runner tests/lib/bundle.test.js --node-resolve --playwright", |
| 35 | + "test:chromium": "yarn test -- --browsers chromium", |
| 36 | + "test:debug": "yarn test -- --manual --open", |
| 37 | + "test:firefox": "yarn test -- --browsers firefox", |
| 38 | + "test:webkit": "yarn test -- --browsers webkit", |
40 | 39 | "watch": "tsc --build --watch"
|
41 | 40 | },
|
42 | 41 | "dependencies": {
|
|
64 | 63 | },
|
65 | 64 | "publishConfig": {
|
66 | 65 | "access": "public"
|
67 |
| - } |
| 66 | + }, |
| 67 | + "module-node": "dist/index.node.es6" |
68 | 68 | }
|
0 commit comments