Skip to content

Commit efb89ed

Browse files
committed
Updated core bob configuration
1 parent a21f35c commit efb89ed

File tree

1 file changed

+16
-27
lines changed

1 file changed

+16
-27
lines changed

packages/core/package.json

Lines changed: 16 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"name": "@draftbit/core",
33
"version": "46.10.2",
44
"description": "Core (non-native) Components",
5-
"main": "lib/commonjs/index.js",
6-
"module": "lib/module/index.js",
7-
"types": "lib/typescript/src/index.d.ts",
8-
"react-native": "src/index.tsx",
5+
"main": "lib\\commonjs\\index.js",
6+
"module": "lib\\module\\index.js",
7+
"types": "lib\\typescript\\src\\index.d.ts",
8+
"react-native": "src\\index.tsx",
99
"source": "src/index.tsx",
1010
"files": [
1111
"src",
@@ -17,7 +17,8 @@
1717
"scripts": {
1818
"prepare": "bob build",
1919
"clean": "rimraf lib",
20-
"clean:modules": "rimraf node_modules"
20+
"clean:modules": "rimraf node_modules",
21+
"prepack": "bob build"
2122
},
2223
"keywords": [
2324
"react-native",
@@ -72,32 +73,20 @@
7273
"@types/dateformat": "^3.0.1",
7374
"@types/lodash.isnumber": "^3.0.6",
7475
"@types/lodash.omit": "^4.5.6",
75-
"@types/lodash.tonumber": "^4.0.6"
76+
"@types/lodash.tonumber": "^4.0.6",
77+
"react-native-builder-bob": "^0.20.4"
7678
},
7779
"react-native-builder-bob": {
78-
"declarationMap": false,
7980
"source": "src",
8081
"output": "lib",
8182
"targets": [
82-
[
83-
"commonjs",
84-
{
85-
"sourceMaps": false
86-
}
87-
],
88-
[
89-
"module",
90-
{
91-
"sourceMaps": false
92-
}
93-
],
94-
[
95-
"typescript",
96-
{
97-
"project": "tsconfig.build.json",
98-
"tsc": "../../node_modules/typescript/bin/tsc"
99-
}
100-
]
83+
"commonjs",
84+
"module",
85+
"typescript"
10186
]
102-
}
87+
},
88+
"eslintIgnore": [
89+
"node_modules/",
90+
"lib/"
91+
]
10392
}

0 commit comments

Comments
 (0)