-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
49 lines (49 loc) · 1.47 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
{
"name": "graphs-renderer",
"version": "1.0.0",
"description": "A library for rendering the graphs: CFD, Scatterplot and Histogram with d3.js",
"main": "./src/index.js",
"type": "module",
"scripts": {
"build:dev": "webpack --mode development",
"build:prod": "webpack --mode production",
"postinstall": "npm run build:prod",
"watch": "webpack --mode development --watch",
"lint": "eslint 'src/**/*.{js,jsx}' --max-warnings=0",
"lint:fix": "eslint 'src/**/*.{js,jsx}' --fix",
"prettier": "prettier 'src/**/*.{js,jsx,json,css}' --check",
"format": "prettier --write 'src/**/*.{js,jsx,json,css}'",
"check": "npm run prettier && npm run lint",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
},
"author": "Claudia Givan",
"license": "ISC",
"dependencies": {
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"babel-loader": "^9.2.1",
"d3": "^7.9.0",
"imports-loader": "^4.0.1",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4"
},
"jest": {
"transform": {},
"moduleNameMapper": {
"\\.(css|less|scss)$": "<rootDir>/__mocks__/styleMock.js"
}
},
"peerDependencies": {
"css-loader": "^6.8.1",
"style-loader": "^3.3.3"
},
"devDependencies": {
"css-loader": "^6.8.1",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.7.0",
"prettier": "^3.4.1",
"style-loader": "^3.3.3"
}
}