-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
40 lines (40 loc) · 1.04 KB
/
package.json
File metadata and controls
40 lines (40 loc) · 1.04 KB
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": "@bhoos/react-native-kit",
"version": "1.0.7",
"description": "Bhoos React Native Library",
"main": "dist/index.js",
"module": "es6/index.js",
"react-native": "src/index.ts",
"scripts": {
"clean": "rimraf dist && rimraf es6",
"build:cjs": "tsc",
"build:es6": "mkdir -p es6 && echo '{\"type\":\"module\"}' > es6/package.json && tsc --module es6 --outDir es6",
"build": "yarn build:cjs && yarn build:es6",
"prepublishOnly": "yarn clean && yarn build",
"postversion": "git push && git push --tags"
},
"files": [
"dist",
"src",
"es6",
"docs"
],
"repository": "git@github.com:bhoos/react-native-kit",
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"author": "Ranjan Shrestha",
"license": "MIT",
"devDependencies": {
"@types/jest": "^26.0.15",
"@types/react": "^16.13.0",
"@types/react-native": "^0.64.2",
"jest": "^26.6.3",
"rimraf": "^3.0.2",
"typescript": "^4.0.5"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
}
}