-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
73 lines (73 loc) · 1.71 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
{
"name": "@formcarry/react",
"version": "1.0.4",
"description": "React Hooks library for Formcarry | formcarry.com",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/react.esm.js",
"scripts": {
"build": "tsdx build",
"fmt": "prettier --write './**/*.{js,jsx,ts,tsx,css,scss,md,json,yml}'",
"lint": "tslint -c tslint.json 'src/**/*.{ts,tsx}' --fix --format verbose --project tsconfig.json"
},
"bugs": {
"url": "https://github.com/formcarry/formcarry-react/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/formcarry/formcarry-react.git"
},
"license": "MIT",
"keywords": [],
"author": "Teijal Inc.",
"eslintConfig": {
"extends": "react-app"
},
"prettier": {
"trailingComma": "all",
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"useTabs": true,
"arrowParens": "avoid"
},
"husky": {
"hooks": {
"pre-commit": "yarn build && lint-staged"
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"tslint -c tslint.json --fix --format verbose --project tsconfig.json",
"prettier --write",
"git add"
],
"src/*.{ts,tsx}": [
"tslint -c tslint.json --fix --format verbose --project tsconfig.json",
"prettier --write",
"git add"
],
"*.{js,jsx,ts,tsx,css,scss,md,json,yml}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@types/node": "^12.0.0",
"@types/react": "^16.9.0",
"@types/react-dom": "^16.9.0",
"husky": "^4.0.1",
"lint-staged": "^9.5.0",
"prettier": "^1.19.1",
"tslib": "^1.10.0",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"tslint-react": "^4.1.0",
"typescript": "^3.7.4",
"tsdx": "^0.14.1"
},
"peerDependencies": {
"react": ">= 16.8.0",
"react-dom": ">= 16.8.0"
}
}