This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
94 lines (94 loc) · 2.63 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": "react-dc-js",
"version": "0.2.0-beta",
"description": "🚀 Multi-dimensional charting based on dc.js for React",
"main": "dist/react-dc.umd.js",
"module": "dist/react-dc.module.js",
"jsnext:main": "dist/react-dc.module.js",
"scripts": {
"test": "jest --silent",
"build": "npm run build:umd && npm run build:es",
"build:umd": "NODE_ENV=production webpack",
"build:es": "BABEL_ENV=module babel src -d dist/es",
"build:watch": "npm run build:es -- --watch",
"flow": "flow",
"lint": "eslint src",
"prepare": "npm run lint && npm run build && npm run test"
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"author": "Pedro Lourenço <[email protected]>",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/dc-js/react-dc-js"
},
"bugs": "https://github.com/dc-js/react-dc-js/issues",
"lint-staged": {
"*.{js*,ts*,json,md,css}": [
"prettier --write",
"git add"
]
},
"peerDependencies": {
"react": "^16.8.0"
},
"optionalDependencies": {
"crossfilter2": "^1.5.2"
},
"dependencies": {
"dc": "^4.0.3"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.6",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-decorators": "^7.8.3",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.9.6",
"@babel/preset-react": "^7.9.4",
"@testing-library/react": "^11.2.3",
"@testing-library/react-hooks": "^8.0.1",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.3",
"css-loader": "^5.2.4",
"d3": "^6.3.1",
"eslint": "6.8.0",
"eslint-config-react-app": "^5.2.1",
"eslint-plugin-flowtype": "^4.7.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-app": "^6.2.2",
"flow-bin": "^0.135.0",
"jest": "^26.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.0.5",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-test-renderer": "^16.13.1",
"sass-loader": "^8.0.2",
"style-loader": "^2.0.0",
"webpack": "^5.69.1",
"webpack-cli": "^4.10.0"
},
"jest": {
"moduleNameMapper": {
"^src(.*)$": "<rootDir>/src/$1",
"crossfilter": "<rootDir>/node_modules/crossfilter2",
"\\.(css|less)$": "<rootDir>/test/mocks/style.mock.js"
},
"moduleFileExtensions": [
"jsx",
"js"
],
"testPathIgnorePatterns": [
"<rootDir>/(build|docs|node_modules|playground)/"
],
"testEnvironment": "jsdom"
}
}