-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
64 lines (64 loc) · 3.09 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
{
"name": "react-native-app-state-higher-order-component",
"version": "0.1.1",
"description": "A React Native higher-order component listening to AppState changes.",
"main": "index.js",
"scripts": {
"changelog:commit": "git add CHANGELOG.md && git commit -m 'update CHANGELOG.md' && echo \"\\x1b[102m\\x1b[1m CHANGELOG \\x1b[0m\" Committed CHANGELOG.md",
"changelog:generate:major": "./node_modules/.bin/changelog -M && echo \"\\x1b[102m\\x1b[1m CHANGELOG \\x1b[0m\" Updated CHANGELOG.md",
"changelog:generate:minor": "./node_modules/.bin/changelog -m && echo \"\\x1b[102m\\x1b[1m CHANGELOG \\x1b[0m\" Updated CHANGELOG.md",
"changelog:generate:patch": "./node_modules/.bin/changelog -p && echo \"\\x1b[102m\\x1b[1m CHANGELOG \\x1b[0m\" Updated CHANGELOG.md",
"eslint": "./node_modules/.bin/eslint src/ && echo \"\\x1b[102m\\x1b[1m ESLINT \\x1b[0m\" No JavaScript ESLint errors to fix",
"eslint:fix": "./node_modules/.bin/eslint --fix src/ && echo \"\\x1b[102m\\x1b[1m ESLINT \\x1b[0m\" ESLint JavaScript errors fixed",
"lib:build": "./node_modules/.bin/babel src --out-dir lib && echo \"\\x1b[102m\\x1b[1m BABEL \\x1b[0m\" Library built",
"lib:clean": "rm -rf lib/ && echo \"\\x1b[102m\\x1b[1m CLEAN \\x1b[0m\" Library directory removed",
"lib:copy-package-json": "cp package.json lib/ && cp README.md lib/ && echo \"\\x1b[102m\\x1b[1m COPY \\x1b[0m\" Copied package.json to library",
"lib:pre-publish": "npm run --silent eslint:fix && npm run --silent lib:clean && npm run --silent lib:build && npm run --silent lib:copy-package-json",
"lib:publish": "npm publish ./lib",
"release:major": "npm run --silent changelog:generate:major && npm run --silent changelog:commit && npm version major && npm run lib:pre-publish",
"release:minor": "npm run --silent changelog:generate:minor && npm run --silent changelog:commit && npm version minor && npm run lib:pre-publish",
"release:patch": "npm run --silent changelog:generate:patch && npm run --silent changelog:commit && npm version patch && npm run lib:pre-publish"
},
"repository": {
"type": "git",
"url": "https://github.com/joeyschroeder/react-native-app-state-higher-order-component"
},
"keywords": [
"react",
"native",
"app",
"state",
"higher",
"order",
"component"
],
"author": {
"name": "Joey Schroeder",
"email": "[email protected]"
},
"license": "MIT",
"homepage": "https://github.com/joeyschroeder/react-native-app-state-higher-order-component",
"devDependencies": {
"@babel/cli": "7.17.6",
"@babel/core": "7.17.8",
"@babel/eslint-parser": "^7.17.0",
"@babel/preset-env": "7.16.11",
"@babel/preset-react": "^7.16.7",
"eslint": "^8.12.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-native": "^4.0.0",
"generate-changelog": "^1.8.0",
"prettier": "^2.6.1",
"react": "^18.0.0",
"react-native": "^0.68.0"
},
"dependencies": {
"prop-types": "~15"
},
"peerDependencies": {
"react": ">=16",
"react-native": "~0.68.0"
}
}