-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
92 lines (92 loc) · 2.14 KB
/
package.json
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "react-native-calculator",
"version": "0.5.2",
"description": "React Native Calculator and Calculator Input Component",
"main": "dist/index.js",
"author": "Budi Adiono <budiadiono@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/budiadiono/react-native-calculator"
},
"typings": "typings/index.d.ts",
"files": [
"dist",
"typings"
],
"scripts": {
"prepare": "npm run build",
"lint": "tslint 'src/**/*.ts{,x}'",
"test": "npm run lint && jest",
"compile": "tsc -d --declarationDir ./typings",
"build": "rm -rf dist && rm -rf typings && npm run compile && prettier ./typings/**/*.d.ts --write"
},
"keywords": [
"react",
"native",
"calculator",
"component",
"input"
],
"license": "MIT",
"devDependencies": {
"@types/enzyme": "^3.1.10",
"@types/enzyme-adapter-react-16": "^1.0.2",
"@types/jest": "^23.0.0",
"@types/react": "^16.3.16",
"@types/react-native": "^0.55.16",
"babel-preset-expo": "^4.0.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "^3.3.4",
"jest": "^23.1.0",
"prettier": "^1.13.4",
"react": "16.3.1",
"react-dom": "^16.8.1",
"react-native": "^0.55.4",
"ts-jest": "^22.4.6",
"tslib": "^1.9.2",
"tslint": "^5.10.0",
"tslint-config-prettier": "^1.13.0",
"tslint-react": "^3.6.0",
"typescript": "^2.9.1"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"jest": {
"globals": {
"ts-jest": {
"useBabelrc": true
}
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"preset": "react-native",
"setupFiles": [
"<rootDir>/src/__tests__/__setup__/enzyme.js"
],
"testMatch": [
"<rootDir>/src/__tests__/**/?(*.)(spec|test).[tj]s?(x)"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
},
"prettier": {
"semi": false,
"singleQuote": true
}
}