Skip to content

Commit 42a6499

Browse files
committed
removed example/package.json and moved dependencies and scripts into the root package.json
1 parent d4ae524 commit 42a6499

File tree

2 files changed

+22
-28
lines changed

2 files changed

+22
-28
lines changed

example/package.json

Lines changed: 0 additions & 24 deletions
This file was deleted.

package.json

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,36 @@
1-
21
{
32
"name": "react-native-androidprogressbar",
43
"version": "1.0.0",
5-
"description": "",
4+
"description": "React Native Android Progress Bar",
65
"main": "index.js",
76
"scripts": {
8-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"start-example": "cd example && node node_modules/react-native/local-cli/cli.js start",
9+
"test-example": "cd example && jest"
910
},
1011
"keywords": [
11-
"react-native"
12+
"react-native",
13+
"react native",
14+
"androidprogressbar"
1215
],
1316
"author": "",
1417
"license": "",
1518
"peerDependencies": {
1619
"react-native": "^0.41.2"
20+
},
21+
"dependencies": {
22+
"react": "16.8.3",
23+
"react-native": "0.59.4"
24+
},
25+
"devDependencies": {
26+
"@babel/core": "^7.4.3",
27+
"@babel/runtime": "^7.4.3",
28+
"babel-jest": "^24.7.1",
29+
"jest": "^24.7.1",
30+
"metro-react-native-babel-preset": "^0.53.1",
31+
"react-test-renderer": "16.8.3"
32+
},
33+
"jest": {
34+
"preset": "react-native"
1735
}
1836
}

0 commit comments

Comments
 (0)