|
1 | 1 | { |
2 | 2 | "name": "@react-platform/native", |
3 | | - "version": "0.0.3-beta.3", |
| 3 | + "version": "0.0.3-beta.4", |
4 | 4 | "description": "Common React Native APIs and components for web and React Native platforms such as `react-native`, `react-native-windows`, `react-native-macos`, `react-sketchapp`, `react-figma`, etc.", |
5 | 5 | "main": "lib/index.js", |
6 | | - "sketch": "lib/module/index.js", |
7 | | - "module": "lib/module/index.js", |
8 | | - "types": "lib/module/index.d.ts", |
| 6 | + "sketch": "lib/index.js", |
| 7 | + "###module": "lib/module/index.js", |
| 8 | + "types": "lib/index.d.ts", |
9 | 9 | "scripts": { |
10 | 10 | "clean": "rm -rf lib/", |
11 | 11 | "build:main": "tsc -p tsconfig.json", |
12 | 12 | "build:module": "tsc -p tsconfig.module.json", |
13 | | - "build:main:types": "tsc -d -p tsconfig.json", |
14 | | - "build:module:types": "tsc -d -p tsconfig.module.json", |
15 | | - "build:js": "npm run build:main && npm run build:module", |
16 | | - "build:types": "npm run build:main:types && npm run build:module:types", |
17 | | - "build": "npm run clean && npm run build:js && npm run build:main:types && npm run build:module:types", |
| 13 | + "build:types": "tsc -d -p tsconfig.json", |
| 14 | + "build:js": "npm run build:main # injection doesn’t support ESM && npm run build:module", |
| 15 | + "build": "npm run clean && npm run build:js && npm run build:types", |
18 | 16 | "test": "echo \"Error: no test specified\" && exit 1" |
19 | 17 | }, |
20 | 18 | "repository": { |
|
29 | 27 | "author": "Macintosh Helper <github@macintoshhelper.com>", |
30 | 28 | "license": "MIT", |
31 | 29 | "devDependencies": { |
32 | | - "@react-platform/core": "0.0.2-beta.5", |
| 30 | + "@react-platform/core": "0.0.2-beta.6", |
33 | 31 | "@types/react": "^17.0.39", |
34 | 32 | "@types/react-native": "^0.67.2", |
35 | 33 | "typescript": "^4.6.2" |
|
0 commit comments