-
Notifications
You must be signed in to change notification settings - Fork 177
/
package.json
86 lines (86 loc) · 2.47 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
{
"name": "rn-placeholder",
"version": "2.0.0",
"private": false,
"license": "MIT",
"main": "./src/index.js",
"homepage": "https://github.com/mfrachet/rn-placeholder",
"repository": {
"type": "git",
"url": "https://github.com/mfrachet/rn-placeholder"
},
"description": "Display some placeholder stuff before rendering your text or media content in React Native",
"keywords": [
"react-native",
"ios",
"android",
"expo"
],
"author": "Marvin FRACHET <marvin.frachet@gmail.com> (https://github.com/mfrachet)",
"scripts": {
"format": "prettier-eslint --write \"src/**/*.js\" && prettier-eslint --write \"Example/components/**/*.js\"",
"lint": "eslint ./src",
"test": "./node_modules/.bin/jest --coverage --no-cache",
"test:auto": "./node_modules/.bin/jest --watch",
"build:prod": "NODE_ENV=production rollup -c",
"build:dev": "NODE_ENV=development rollup -c",
"build": "yarn build:dev && yarn build:prod",
"prepublishOnly": "npm run release",
"release": "npm run build:dev && npm run build:prod"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint && yarn test && yarn build"
}
},
"dependencies": {
"prop-types": "15.6.2"
},
"peerDependencies": {
"react": "^16.8.6"
},
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.4.4",
"babel-jest": "^24.4.0",
"coveralls": "2.13.1",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.10.0",
"enzyme-to-json": "^3.3.5",
"eslint": "5.3.0",
"eslint-config-airbnb": "17.1.0",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-jsx-a11y": "6.1.1",
"eslint-plugin-react": "7.11.1",
"husky": "^2.1.0",
"jest": "^24.4.0",
"metro-react-native-babel-preset": "^0.53.0",
"prettier": "1.14.2",
"prettier-eslint-cli": "4.7.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-native": "^0.59.5",
"react-test-renderer": "16.4.2",
"rollup": "^1.6.0",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^9.2.1",
"rollup-plugin-node-resolve": "^4.0.1",
"rollup-plugin-replace": "^2.1.0"
},
"jest": {
"preset": "react-native",
"setupFiles": [
"./setup/test.setup.js"
],
"testPathIgnorePatterns": [
"<rootDir>/index.js",
"<rootDir>/node_modules/",
"<rootDir>/lib/"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
}
}