|
1 | 1 | {
|
2 | 2 | "name": "@react-platform/svg",
|
3 |
| - "version": "1.0.0", |
| 3 | + "version": "0.0.1", |
4 | 4 | "description": "Cross-platform React SVG primitives",
|
5 |
| - "main": "index.js", |
| 5 | + "main": "lib/cjs/core.js", |
| 6 | + "sketch": "lib/esm/core.sketch.js", |
| 7 | + "types": "lib/cjs/core.native.d.ts", |
6 | 8 | "scripts": {
|
| 9 | + "clean": "rm -rf lib/", |
| 10 | + "build:main": "tsc -p tsconfig.json", |
| 11 | + "build:module": "tsc -p tsconfig.module.json", |
| 12 | + "build:js": "npm run build:main && npm run build:module", |
| 13 | + "copy:types": "mkdir lib/@types && cp -r src/@types/ lib/@types/", |
| 14 | + "build:types": "tsc -d -p tsconfig.json && npm run copy:types", |
| 15 | + "build": "npm run clean && npm run build:js && npm run build:types", |
7 | 16 | "test": "echo \"Error: no test specified\" && exit 1"
|
8 | 17 | },
|
9 | 18 | "keywords": [],
|
10 | 19 | "author": "",
|
11 | 20 | "license": "ISC",
|
12 | 21 | "devDependencies": {
|
13 |
| - "react-native-svg": "^12.1.0" |
| 22 | + "@react-platform/core": "0.0.2-beta.0", |
| 23 | + "@types/node": "^17.0.21", |
| 24 | + "react-native-svg": "^12.3.0", |
| 25 | + "react-sketchapp": "^3.2.6", |
| 26 | + "typescript": "^4.6.2" |
| 27 | + }, |
| 28 | + "dependencies": { |
| 29 | + "@types/react": "^17.0.40", |
| 30 | + "@types/react-native": "^0.67.3" |
| 31 | + }, |
| 32 | + "peerDependencies": { |
| 33 | + "@react-platform/core": ">= 0.0.1" |
| 34 | + }, |
| 35 | + "optionalDependencies": { |
| 36 | + "react-sketchapp": ">= 3", |
| 37 | + "react-native-svg": "*" |
14 | 38 | }
|
15 | 39 | }
|
0 commit comments