This repository has been archived by the owner on Apr 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 2.56 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
{
"name": "prereview-components",
"version": "0.0.0",
"private": true,
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^6.0.5",
"@commitlint/config-conventional": "^6.0.4",
"babel-eslint": "^10.0.1",
"@babel/preset-env": "^7.0.0",
"commitizen": "^2.9.6",
"cz-conventional-changelog": "^2.1.0",
"eslint": "^4.13.1",
"eslint-config-pubsweet": "^0.0.6",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jest": "^21.22.1",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-node": "^5.2.1",
"eslint-plugin-prettier": "^2.3.1",
"eslint-plugin-promise": "^3.6.0",
"eslint-plugin-react": "^7.4.0",
"eslint-plugin-standard": "^3.0.1",
"husky": "^0.14.3",
"lerna": "^3.4.3",
"lint-staged": "^6.0.0",
"prettier": "^1.8.2",
"stylelint": "^8.2.0",
"stylelint-config-prettier": "^2.0.0",
"stylelint-config-pubsweet": "^0.0.3"
},
"scripts": {
"clean": "lerna clean",
"styleguide": "npm run --prefix styleguide styleguide",
"test": "jest --no-cache --coverage --detectOpenHandles",
"lint": "npm run lint:js && npm run lint:style && npm run lint:json",
"lint:js": "eslint 'components/**/*.{js,jsx}'",
"lint:style": "stylelint 'components/**/*.{css,scss}'",
"lint:json": "prettier --list-different '**/*.json'",
"precommit": "lint-staged",
"cz": "git-cz",
"commitmsg": "commitlint -e $GIT_PARAMS"
},
"jest": {
"collectCoverageFrom": [
"**/*.{js,jsx}",
"!**/*test.{js,jsx}",
"!**/test/**",
"!**/node_modules/**",
"!**/config/**",
"!**/coverage/**"
],
"coverageDirectory": "<rootDir>/coverage",
"projects": [
{
"rootDir": "<rootDir>/components",
"displayName": "components",
"moduleNameMapper": {
"\\.s?css$": "identity-obj-proxy"
},
"transformIgnorePatterns": [
"/node_modules/(?!@?pubsweet)"
],
"testPathIgnorePatterns": [
"/node_modules",
"config/test",
"model-*"
],
"globals": {
"PUBSWEET_COMPONENTS": [],
"fetch": true
},
"setupFilesAfterEnv": [
"<rootDir>/test/jest-setup.js"
]
}
]
},
"workspaces": [
"components/*"
],
"repository": {
"type": "git",
"url": "https://github.com/prereview/prereview-pubsweet-components"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {},
"resolutions": {
"webpack-dev-server": "3.1.11"
}
}