generated from jednano/private-node-starter
-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
119 lines (119 loc) · 2.78 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "craco-linaria",
"version": "1.1.2",
"description": "A craco plugin to use Linaria zero-runtime CSS in JS library in a create react app.",
"keywords": [
"craco",
"plugin",
"linaria",
"cra",
"create-react-app"
],
"main": "src/index.js",
"scripts": {
"clean": "rimraf coverage *.log*",
"lint": "eslint src/**/*.js",
"pretest": "npm run clean && npm run lint",
"test": "jest --watch",
"precover": "npm run clean && npm run lint",
"cover": "jest --coverage",
"commit": "git-cz"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "npm run cover"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"prettier": {
"arrowParens": "avoid",
"proseWrap": "always",
"semi": false,
"singleQuote": true,
"trailingComma": "all"
},
"jest": {
"coverageDirectory": "coverage",
"coverageReporters": [
"lcov",
"text"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"testEnvironment": "node",
"verbose": true,
"watchPlugins": [
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname"
]
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write",
"git add"
],
"*.{json,md}": [
"prettier --write",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/jedmao/craco-linaria.git"
},
"bugs": {
"url": "https://github.com/jedmao/craco-linaria/issues"
},
"homepage": "https://github.com/jedmao/craco-linaria#readme",
"author": "Jed Mao (https://github.com/jedmao)",
"license": "MIT",
"release": {
"extends": "@jedmao/semantic-release-npm-github-config",
"branch": "master"
},
"peerDependencies": {
"@craco/craco": "5.x",
"linaria": "1.x",
"react-scripts": "3.x"
},
"dependencies": {
"cosmiconfig": "^5.2.1"
},
"devDependencies": {
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@craco/craco": "^5.3.0",
"@jedmao/semantic-release-npm-github-config": "^1.0.6",
"commitizen": "^4.0.3",
"cz-conventional-changelog": "^3.0.2",
"eslint": "^6.2.2",
"eslint-config-prettier": "^6.1.0",
"eslint-config-xo": "^0.26.0",
"eslint-plugin-prettier": "^3.1.0",
"husky": "^3.0.4",
"jest": "^24.9.0",
"jest-watch-typeahead": "^0.4.0",
"lint-staged": "^9.2.5",
"prettier": "^1.18.2",
"rimraf": "^3.0.0",
"semantic-release": "^15.13.24"
}
}