-
Notifications
You must be signed in to change notification settings - Fork 47
/
package.json
40 lines (40 loc) · 1.22 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"name": "@gympass/yoga-illustrations",
"version": "0.7.1",
"description": "Yoga illustrations package",
"keywords": [
"yoga",
"illustrations",
"react"
],
"homepage": "https://github.com/Gympass/yoga/tree/master/packages/illustrations",
"license": "MIT",
"main": "src/index.ts",
"types": "src/index.ts",
"publishConfig": {
"access": "public",
"directory": "dist"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Gympass/yoga.git"
},
"scripts": {
"prebuild": "rm -rf ./dist && tsc -p ./tsconfig.json",
"build": "yarn build:cjs && yarn build:esm && yarn build:native",
"build:cjs": "tsup --outDir dist/cjs --format=cjs",
"build:esm": "tsup --format=esm --legacy-output",
"build:native": "tsup src/**/*.svg --outDir dist/cjs/svg --format=cjs -- native",
"postbuild": "yarn build:types && yarn build:types:native",
"build:types": "node ../../scripts/generate-d-ts.js src/index.ts",
"build:types:native": "yarn build:types --native",
"prepublishOnly": "node ../../scripts/prepublish.js"
},
"peerDependencies": {
"react": ">=16",
"react-native-svg": ">=9.13.3"
},
"bugs": {
"url": "https://github.com/Gympass/yoga/issues"
}
}