forked from dictyBase/dicty-components-header-footer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 2.44 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
{
"name": "dicty-components-header-footer",
"version": "1.0.0",
"description": "React component for header and footer of dictybase web applications",
"main": "lib/index.js",
"module": "es/index.js",
"files": ["css", "es", "lib", "umd"],
"lint-staged": {
"src/**/*.{js,jsx,json}": [
"prettier --no-semi --trailing-comma all --jsx-bracket-same-line true --write",
"git add"
]
},
"jest": {
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/es/",
"<rootDir>/lib/"
],
"collectCoverageFrom": [
"src/components/*.js",
"!<rootDir>/node_modules/",
"!<rootDir>/es/",
"!<rootDir>/lib/"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
}
},
"babel": { "presets": ["react-app"] },
"scripts": {
"build": "nwb build-react-component --no-demo --copy-files",
"clean": "nwb clean-module && nwb clean-demo",
"start": "nwb serve-react-demo",
"test": "jest --coverage",
"test:run": "jest",
"test:watch": "jest --watch",
"precommit": "lint-staged",
"flow": "flow",
"styleguide": "styleguidist server",
"styleguide:build": "styleguidist build"
},
"dependencies": {
"font-awesome": "^4.7.0",
"react-fontawesome": "^1.6.1",
"rebass": "^1.0.0",
"styled-components": "^2.1.1"
},
"peerDependencies": {
"react": "15.x"
},
"devDependencies": {
"babel-eslint": "^7.2.3",
"babel-jest": "^20.0.3",
"babel-plugin-transform-export-extensions": "^6.22.0",
"babel-preset-react-app": "^3.0.1",
"css-loader": "^0.28.4",
"eslint": "^3.19.0",
"eslint-config-react-app": "^1.0.5",
"eslint-loader": "^1.7.1",
"eslint-plugin-flowtype": "^2.33.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^5.0.3",
"eslint-plugin-react": "^7.0.1",
"flow-bin": "^0.49.1",
"flow-typed": "^2.1.2",
"husky": "^0.14.3",
"jest": "^20.0.4",
"lint-staged": "^4.0.1",
"nwb": "0.18.x",
"prettier": "^1.5.2",
"react": "^15.6.1",
"react-dev-utils": "^3.0.2",
"react-dom": "^15.6.1",
"react-styleguidist": "^5.5.5",
"react-test-renderer": "^15.6.1",
"style-loader": "^0.18.2"
},
"author": "",
"homepage": "",
"license": "MIT",
"repository": "",
"keywords": ["react-component"]
}