-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
126 lines (126 loc) · 3.2 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
120
121
122
123
124
125
126
{
"name": "styled-components-modifiers",
"version": "1.2.5",
"description": "A library that enables BEM flavored modifiers to styled components",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib/*"
],
"repository": {
"type": "git",
"url": "https://github.com/Decisiv/styled-components-modifiers.git"
},
"keywords": [
"styled-components",
"bem",
"blocks",
"elements",
"modifiers",
"responsive",
"css",
"react"
],
"contributors": [
"UI Platform Development Team at Decisiv, Inc."
],
"license": "MIT",
"scripts": {
"build": "yarn build:types && yarn build:js",
"build:js": "babel -d lib src --extensions \".js,.ts\" --ignore \"**/__tests__\"",
"build:types": "tsc --build --force",
"build:watch": "concurrently \" yarn build:types -w\" \"yarn build:js -w\"",
"build:clean": "rimraf ./lib",
"lint": "eslint src/**/*.{js*,ts*}",
"prebuild": "yarn build:clean && yarn lint && yarn test",
"prepublish": "yarn build",
"prettier": "prettier --write '**/*.{js*,ts*,md}'",
"review": "yarn lint && yarn test",
"test": "jest",
"test:coverage:report": "open-cli coverage/lcov-report/index.html",
"lint:ci": "eslint --format junit -o reports/junit/js-lint-results.xml src/**",
"test:ci": "jest --ci"
},
"peerDependencies": {
"prop-types": "^15.4.0",
"styled-components": "^2 || ^3 || ^4"
},
"dependencies": {
"@types/prop-types": "^15.7.1",
"@types/styled-components": "^4.1.15",
"lodash": "^4.17.15"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"@babel/preset-typescript": "^7.3.3",
"@types/lodash": "^4.14.144",
"@typescript-eslint/eslint-plugin": "^1.9.0",
"@typescript-eslint/parser": "^1.9.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.7.1",
"concurrently": "^4.1.0",
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^4.2.0",
"eslint-import-resolver-typescript": "^1.1.1",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-jest": "^22.5.1",
"eslint-plugin-prettier": "^3.1.0",
"husky": "^3.0.0",
"jest": "^24.8.0",
"jest-junit": "^6.4.0",
"lint-staged": "^9.2.0",
"opn-cli": "^5.0.0",
"prettier": "^1.17.1",
"prop-types": "^15.6.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"rimraf": "^2.6.2",
"styled-components": "^4.2.0",
"typescript": "^3.4.5"
},
"sideEffects": false,
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"!lib/**",
"!src/index.ts",
"!src/types.ts",
"src/**"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
},
"reporters": [
"default",
[
"jest-junit",
{
"output": "reports/junit/js-test-results.xml"
}
]
]
},
"lint-staged": {
"*.{js*,ts*}": [
"yarn run lint",
"git add"
],
"*.{js*,ts*,md}": [
"yarn run prettier",
"git add"
]
}
}