-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
111 lines (111 loc) · 2.87 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
{
"name": "styled-svg",
"version": "2.4.7",
"description": "Generates styled-components and tests from *.svg files",
"main": "src/index.js",
"module": "src/index.js",
"sideEffects": false,
"bin": {
"styled-svg": "./bin/styled-svg.js"
},
"scripts": {
"develop": "CI=1 nodemon -x 'npm run test' --ignore 'test-images/*.js'",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"build": "node bin/styled-svg.js src/**/*.svg --size=small:18x18 --size=medium:24x24 --size=large:36x36",
"test": "npm run build && node jest/test.js",
"test:coverage": "npm run build && node jest/test.js --coverage"
},
"repository": {
"type": "git",
"url": "https://github.com/jaggli/styled-svg"
},
"keywords": [
"styled-components",
"svg",
"generator"
],
"author": "Matthias Jäggli <matthias.jaeggli@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/jaggli/styled-svg/issues"
},
"homepage": "https://github.com/jaggli/styled-svg#readme",
"dependencies": {
"command-line-args": "^5.1.1",
"command-line-usage": "^5.0.5",
"del": "^5.0.0",
"fs-extra": "^8.1.0",
"globby": "^10.0.1",
"prettier": "^1.18.2",
"svgo": "1.3.0"
},
"devDependencies": {
"babel-eslint": "^10.0.2",
"babel-jest": "^24.8.0",
"babel-preset-react-app": "^9.0.0",
"eslint": "^6.0.1",
"eslint-config-standard": "^13.0.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.14.2",
"eslint-plugin-standard": "^4.0.0",
"jest": "^24.8.0",
"jest-cli": "^24.8.0",
"jest-styled-components": "^6.3.3",
"jsdom-global": "^3.0.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-test-renderer": "^16.8.6",
"standard-react": "^4.0.0",
"styled-components": "^4.3.2"
},
"peerDependencies": {
"styled-components": ">=4.0.0"
},
"engines": {
"node": ">=8.0.0",
"npm": ">=5.0.0"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"setupFiles": [
"<rootDir>/jest/polyfills.js"
],
"setupFilesAfterEnv": [
"<rootDir>/jest/setupTests.js"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.js?(x)",
"<rootDir>/src/**/?(*.)(spec|test).js?(x)"
],
"testEnvironment": "node",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web"
},
"moduleFileExtensions": [
"web.js",
"js",
"json",
"web.jsx",
"jsx",
"node"
]
},
"babel": {
"presets": [
"react-app"
]
}
}