|
7 | 7 | "shader",
|
8 | 8 | "component"
|
9 | 9 | ],
|
10 |
| - "version": "1.0.5", |
| 10 | + "version": "1.0.0", |
11 | 11 | "main": "dist/core/index.js",
|
12 | 12 | "module": "dist/core/index.esm.js",
|
13 | 13 | "publishConfig": {
|
|
27 | 27 | "LICENSE"
|
28 | 28 | ],
|
29 | 29 | "devDependencies": {
|
| 30 | + "@types/bun": "^1.1.13", |
30 | 31 | "@types/react": "^18.3.12",
|
31 | 32 | "@types/react-dom": "^18.3.1",
|
32 | 33 | "ts-node": "^10.9.2",
|
|
40 | 41 | ".": {
|
41 | 42 | "require": "./dist/core/index.js",
|
42 | 43 | "import": "./dist/core/index.js",
|
43 |
| - "types": "./dist/core/index.d.ts" |
| 44 | + "types": "./dist/core/index.d.ts" |
44 | 45 | },
|
45 | 46 | "./react": {
|
46 | 47 | "require": "./dist/react/index.js",
|
47 | 48 | "import": "./dist/react/index.js",
|
48 |
| - "types": "./dist/react/index.d.ts" |
| 49 | + "types": "./dist/react/index.d.ts" |
49 | 50 | }
|
50 | 51 | },
|
51 | 52 | "scripts": {
|
52 |
| - "build:library": "bun ./build.ts", |
53 |
| - "build:types": "bunx tsc", |
54 |
| - "build": "bun build:library && bun build:types && cp -R ./src/types ./dist/types" |
| 53 | + "clean": "rm -rf dist", |
| 54 | + "build:library": "bun ./build.ts", |
| 55 | + "build:types": "bunx tsc", |
| 56 | + "build": "bun run clean && bun build:library && bun build:types && cp -R ./src/types ./dist/types" |
55 | 57 | },
|
56 | 58 | "type": "module",
|
57 | 59 | "types": "dist/types/index.d.ts"
|
|
0 commit comments