-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
62 lines (62 loc) · 2.53 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
{
"name": "react-with-styles-interface-react-native",
"version": "1.0.0",
"description": "react-with-styles interface for React Native",
"main": "lib/reactNativeInterface.js",
"directories": {
"test": "test"
},
"scripts": {
"build": "npm run clean && babel src/ -d lib/",
"check-changelog": "expr $(git status --porcelain 2>/dev/null| grep \"^\\s*M.*CHANGELOG.md\" | wc -l) >/dev/null || (echo 'Please edit CHANGELOG.md' && exit 1)",
"check-only-changelog-changed": "(expr $(git status --porcelain 2>/dev/null| grep -v \"CHANGELOG.md\" | wc -l) >/dev/null && echo 'Only CHANGELOG.md may have uncommitted changes' && exit 1) || exit 0",
"clean": "rimraf lib",
"lint": "eslint .",
"mocha": "mocha --compilers js:babel-register,jsx:babel-register --require airbnb-js-shims --recursive test/_helpers test",
"postversion": "git commit package.json CHANGELOG.md -m \"Version $npm_package_version\" && npm run tag && git push && git push --tags && npm publish",
"prepublish": "in-publish && safe-publish-latest && npm run build || not-in-publish",
"pretest": "npm run --silent lint",
"preversion": "npm run test && npm run check-changelog && npm run check-only-changelog-changed",
"tag": "git tag v$npm_package_version",
"test": "npm run tests-only",
"tests-only": "npm run mocha --silent test",
"version:major": "npm --no-git-tag-version version major",
"version:minor": "npm --no-git-tag-version version minor",
"version:patch": "npm --no-git-tag-version version patch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/airbnb/react-with-styles-interface-react-native.git"
},
"keywords": [
"react-with-styles",
"react native"
],
"author": "Joe Lencioni <joe.lencioni@airbnb.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/airbnb/react-with-styles-interface-react-native/issues"
},
"homepage": "https://github.com/airbnb/react-with-styles-interface-react-native#readme",
"devDependencies": {
"airbnb-js-shims": "^1.3.0",
"babel-cli": "^6.26.0",
"babel-preset-airbnb": "^2.4.0",
"babel-register": "^6.26.0",
"chai": "^4.1.2",
"eslint": "^4.10.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.8.0",
"in-publish": "^2.0.0",
"mocha": "^4.0.1",
"react": "~15.4",
"react-dom": "~15.4",
"react-native": "^0.42.0",
"react-native-mock": "^0.3.1",
"rimraf": "^2.6.2",
"safe-publish-latest": "^1.1.1"
},
"peerDependencies": {
"react-native": ">= 0.8.0"
}
}