chore: configure lerna with bob

This commit is contained in:
satyajit.happy
2019-08-21 09:56:39 +05:30
committed by Satyajit Sahoo
parent 14b353b6ef
commit 6b9af77fab
27 changed files with 2142 additions and 93 deletions

View File

@@ -1,19 +1,41 @@
{
"name": "@navigation-ex/native",
"version": "0.0.1",
"main": "src/index",
"license": "MIT",
"main": "lib/commonjs/index.js",
"react-native": "src/index.tsx",
"module": "lib/module/index.js",
"types": "lib/typescript/src/index.d.ts",
"files": [
"src",
"lib"
],
"scripts": {
"prepare": "bob build",
"clean": "del lib"
},
"dependencies": {
"@navigation-ex/core": "^0.0.1"
},
"devDependencies": {
"@react-native-community/bob": "^0.7.0",
"@types/react": "^16.8.24",
"@types/react-native": "^0.60.2",
"del-cli": "^2.0.0",
"react": "16.8.3",
"react-native": "^0.59.8"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"@react-native-community/bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
}
}

View File

@@ -0,0 +1,3 @@
{
"extends": "../../tsconfig"
}