-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
63 lines (63 loc) · 2.42 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
{
"name": "react-native-typescript-library-starter",
"version": "1.4.0",
"description": "Extremely easy to create a React Native Component Library with both Stateful and Functional Component Examples.",
"main": "./build/dist/index.js",
"repository": "[email protected]:WrathChaos/react-native-typescript-library-starter.git",
"author": "FreakyCoder <[email protected]>",
"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"
],
"scripts": {
"build": "tsc -p tsconfig.json && npm run copy:assets && npm run copy:package",
"prepare": "husky install",
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx}\"",
"lint": "eslint \"lib/**/*.{ts,tsx,js,jsx}\"",
"prettier": "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 add .husky/pre-commit 'npm run prettier'"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@types/react": "^18.3.7",
"@types/react-native": "^0.73.0",
"@typescript-eslint/eslint-plugin": "^8.6.0",
"@typescript-eslint/parser": "^8.6.0",
"cpx": "^1.5.0",
"eslint": "^8.19.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^7.1.0",
"eslint-plugin-react": "^7.36.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-native": "^4.1.0",
"eslint-plugin-unused-imports": "^4.1.4",
"husky": "^8.0.0",
"lint-staged": "^15.2.10",
"npm-post-install": "0.0.2",
"prettier": "^3.3.3",
"prettier-format": "^4.0.0",
"react-native-typescript-transformer": "^1.2.13",
"semantic-release": "^24.1.1",
"typescript": "^5.6.0"
}
}