-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
85 lines (85 loc) · 2.1 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
{
"name": "react-splitio",
"version": "0.1.13",
"license": "Apache-2.0",
"author": {
"name": "Samuel Castro",
"email": "[email protected]",
"url": "https://github.com/samuelcastro"
},
"main": "build/lib/index.js",
"types": "build/lib/index.d.ts",
"engines": {
"node": ">=8.10.0"
},
"files": [
"build/lib"
],
"repository": {
"type": "git",
"url": "https://github.com/samuelcastro/react-splitio.git"
},
"scripts": {
"build": "yarn tslint:fix && npx tsc",
"commit": "npx git-cz",
"test": "npx jest",
"tsc": "npx tsc --noEmit",
"tslint": "npx tslint -p ./tsconfig.json",
"lint": "yarn tsc && yarn tslint",
"tslint:fix": "yarn tslint --fix",
"prettier:base": "npx prettier --parser typescript --single-quote --trailing-comma all",
"prettier:write": "yarn prettier:base -- --write \"src/**/*.{ts,tsx}\"",
"format": "yarn tsc && yarn prettier:write && yarn tslint:fix",
"prepublish": "yarn build",
"publish:local": "npx yalc publish --push --private"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"linters": {
"*.{ts,tsx}": [
"yarn format",
"git add"
]
},
"ignore": [
"build/**/*.*"
]
},
"dependencies": {
"@splitsoftware/splitio": "^10.8.1"
},
"devDependencies": {
"@types/jest": "^24.0.13",
"@types/node": "^12.0.4",
"@types/react": "^16.8.19",
"@types/react-dom": "^16.8.4",
"commitizen": "^3.1.1",
"cz-conventional-changelog": "^2.1.0",
"husky": "^2.3.0",
"jest": "^24.8.0",
"lint-staged": "^8.1.7",
"npm-check-updates": "^3.1.10",
"prettier": "1.17.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"tslint": "^5.17.0",
"tslint-config-airbnb": "^5.11.1",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.5.1",
"yalc": "^1.0.0-pre.27"
},
"peerDependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6",
"typescript": "^3.1.2"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}