-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
53 lines (53 loc) · 2.01 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
{
"name": "react-native-typescript-library-starter",
"version": "1.3.0",
"description": "Extremely easy to create a React Native Component Library with both Stateful and Functional Component Examples.",
"main": "./build/dist/index.js",
"repository": "git@github.com:WrathChaos/react-native-typescript-library-starter.git",
"author": "FreakyCoder <kurayogun@gmail.com>",
"license": "MIT",
"homepage": "https://www.freakycoder.com",
"bugs": "https://github.com/WrathChaos/react-native-typescript-library-starter/issues",
"keywords": [
"FreakyCoder",
"freakycoder",
"kuray",
"Kuray",
"react",
"react-native",
"javascript",
"ui-lib",
"rn"
],
"devDependencies": {
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@types/react": "^16.9.53",
"@types/react-native": "^0.63.25",
"cpx": "^1.5.0",
"eslint": "^7.11.0",
"eslint-config-airbnb": "^18.2.0",
"husky": "^8.0.0",
"lint-staged": "^10.4.2",
"npm-post-install": "0.0.2",
"prettier": "^2.1.2",
"prettier-format": "^3.0.3",
"react-native-typescript-transformer": "^1.2.13",
"semantic-release": "^19.0.5",
"typescript": "^4.0.3"
},
"scripts": {
"build": "cd lib && tsc && npm run copy:assets && npm run copy:package",
"prepare": "husky install",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"lint": "tslint -p tsconfig.json",
"prettier": "cd lib && npx prettier --write . && git add .",
"husky:setup": "npx husky-init && npm run husky:commitlint && npm run husky:prettier && npm run husky:lint",
"husky:commitlint": "npx husky add .husky/commit-msg 'npx --no-install commitlint --edit'",
"semantic-release": "semantic-release",
"copy:assets": "cpx 'lib/local-assets/**' './build/dist/local-assets'",
"copy:package": "cpx '../package.json' '../build/dist/'",
"husky:lint": "npx husky add .husky/pre-commit 'npm run lint'",
"husky:prettier": "npx husky set .husky/pre-commit 'npm run prettier'"
}
}