|
22 | 22 | "build:types": "tsc", |
23 | 23 | "build:js": "node esbuild.mjs", |
24 | 24 | "build": "rm -rf dist && pnpm build:js && pnpm build:types", |
25 | | - "start": "parcel src/examples/index.html --open", |
| 25 | + "start": "parcel src/examples/index.html --target app --open", |
26 | 26 | "test": "LANG=en_GB jest", |
27 | 27 | "test-ci": "LANG=en_GB.UTF-8 cross-env NODE_ICU_DATA=node_modules/full-icu jest", |
28 | 28 | "typecheck": "tsc && tsc --project tsconfig.test.json", |
29 | 29 | "lint": "eslint ./ --max-warnings=0", |
30 | | - "gh-predeploy": "parcel build src/examples/index.html --dist-dir demo/examples --public-url ./", |
| 30 | + "gh-predeploy": "parcel build src/examples/index.html --target app", |
31 | 31 | "gh-deploy": "pnpm gh-predeploy && gh-pages -d demo/examples", |
32 | 32 | "ci": "pnpm && pnpm build", |
33 | 33 | "semantic-release": "semantic-release" |
|
82 | 82 | "jest": "^29.7.0", |
83 | 83 | "jest-environment-jsdom": "^29.7.0", |
84 | 84 | "lint-staged": "^11.0.0", |
85 | | - "parcel": "^2.0.0-rc.0", |
| 85 | + "parcel": "^2.16.4", |
86 | 86 | "prettier": "^3.1.1", |
87 | 87 | "process": "^0.11.10", |
88 | 88 | "react": "^18.2.0", |
|
99 | 99 | "targets": { |
100 | 100 | "main": false, |
101 | 101 | "module": false, |
102 | | - "types": false |
| 102 | + "types": false, |
| 103 | + "app": { |
| 104 | + "distDir": "demo/examples", |
| 105 | + "publicUrl": "./" |
| 106 | + } |
103 | 107 | }, |
104 | 108 | "minimumReleaseAge": 4320, |
105 | 109 | "packageManager": "pnpm@10.16.1+sha512.0e155aa2629db8672b49e8475da6226aa4bdea85fdcdfdc15350874946d4f3c91faaf64cbdc4a5d1ab8002f473d5c3fcedcd197989cf0390f9badd3c04678706" |
|
0 commit comments