-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
145 lines (145 loc) · 3.46 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "react-sigplot",
"description": "React wrapper for SigPlot",
"version": "0.1.15",
"homepage": "https://github.com/lgsinnovations/react-sigplot",
"author": {
"name": "LGS Innovations",
"email": "[email protected]",
"url": "https://www.lgsinnovations.com"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lgsinnovations/react-sigplot.git"
},
"bugs": {
"url": "https://github.com/lgsinnovations/react-sigplot/issues"
},
"license": "Apache-2.0",
"main": "./dist/react-sigplot.js",
"files": [
"dist",
"src"
],
"scripts": {
"build": "npm run clean && npm run lint && npx webpack --progress",
"clean": "rm -rf ./dist",
"eslint": "npx eslint . --fix --ignore-path .gitignore",
"eslint:check": "npx eslint . --ignore-path .gitignore",
"generate-docs": "rm -rf ./doc/; npx jsdoc --configure .jsdoc.json --verbose",
"lint": "npm run prettier && npm run eslint",
"prettier": "npx prettier --ignore-path .gitignore --write \"**/*{.js,.css,.json}\"",
"prettier:check": "npx prettier --check --ignore-path .gitignore --write \"**/*{.js,.css,.json}\"",
"test": "jest --coverage"
},
"dependencies": {
"sigplot": "^2.0.0-rc19"
},
"jest": {
"setupFiles": [
"jest-canvas-mock"
]
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
]
],
"plugins": [
"@babel/plugin-proposal-class-properties"
]
},
"eslintConfig": {
"env": {
"browser": true,
"node": true,
"es2017": true,
"jest": true
},
"globals": {
"browser": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"prettier"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module"
},
"plugins": [
"jest",
"react"
],
"rules": {
"no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}
]
}
},
"prettier": {
"overrides": [
{
"files": [
"*.js",
"src/**/*.js",
"__tests__/**/*.js",
"package.json"
],
"options": {
"singleQuote": true,
"tabWidth": 2
}
}
]
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.9.4",
"babel-eslint": "^10.1.0",
"babel-jest": "^25.4.0",
"babel-loader": "^8.1.0",
"canvas": "^2.6.1",
"chai": "^4.2.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.4.4",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-loader": "^4.0.2",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.19.0",
"file-loader": "^6.0.0",
"jest": "^25.4.0",
"jest-canvas-mock": "^2.2.0",
"minami": "^1.2.3",
"merge": ">=1.2.1",
"prettier": "^2.0.4",
"react-doc-generator": "^1.2.5",
"sinon": "^9.0.2",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11"
},
"peerDependencies": {
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1"
}
}