|
2 | 2 | "name": "@draftbit/core", |
3 | 3 | "version": "46.10.2", |
4 | 4 | "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", |
9 | 9 | "source": "src/index.tsx", |
10 | 10 | "files": [ |
11 | 11 | "src", |
|
17 | 17 | "scripts": { |
18 | 18 | "prepare": "bob build", |
19 | 19 | "clean": "rimraf lib", |
20 | | - "clean:modules": "rimraf node_modules" |
| 20 | + "clean:modules": "rimraf node_modules", |
| 21 | + "prepack": "bob build" |
21 | 22 | }, |
22 | 23 | "keywords": [ |
23 | 24 | "react-native", |
|
72 | 73 | "@types/dateformat": "^3.0.1", |
73 | 74 | "@types/lodash.isnumber": "^3.0.6", |
74 | 75 | "@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" |
76 | 78 | }, |
77 | 79 | "react-native-builder-bob": { |
78 | | - "declarationMap": false, |
79 | 80 | "source": "src", |
80 | 81 | "output": "lib", |
81 | 82 | "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" |
101 | 86 | ] |
102 | | - } |
| 87 | + }, |
| 88 | + "eslintIgnore": [ |
| 89 | + "node_modules/", |
| 90 | + "lib/" |
| 91 | + ] |
103 | 92 | } |
0 commit comments