forked from BigFatDog/cubism-es
/
package.json
109 lines (109 loc) · 3.54 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
{
"name": "cubism-es",
"version": "1.2.1",
"description": "Cubism.js ES6 module, based on D3 V7 components",
"main": "dist/cubism-es.js",
"module": "dist/cubism-es.esm.js",
"jsnext:main": "dist/cubism-es.esm.js",
"scripts": {
"_prebuild": "eslint src test",
"build": "rollup -c",
"dev": "rollup -c rollup.config.dev.mjs -w",
"serve": "rollup -c rollup.config.serve.mjs",
"watch": "rollup -c -w",
"e2e": "npx cypress run",
"test": "jest --watch --onlyChanged",
"test:ci": "jest --passWithNoTests --maxWorkers 4 --coverage",
"copy:reports": "mkdir -p coverage/combined && cp coverage/cypress/coverage-final.json coverage/combined/from-cypress.json && cp coverage/jest/coverage-final.json coverage/combined/from-jest.json",
"precombine:reports": "npm run copy:reports && mkdir -p .nyc_output",
"combine:reports": "npx nyc merge coverage/combined && mv coverage.json .nyc_output/out.json",
"prereport:combined": "npm run combine:reports",
"prereport:lcov": "npm run precombine:reports",
"report:combined": "npx nyc report --reporter text --reporter clover --reporter json --report-dir coverage",
"report:lcov": "genhtml coverage/cypress/lcov.info coverage/jest/lcov.info --output-directory=coverage/lcov-report",
"pretty": "prettier --write \"{src,__{tests,demo,dist}__}/**/*.js\""
},
"files": [
"src",
"dist"
],
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"all": true,
"report-dir": "coverage/cypress"
},
"dependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@testing-library/jest-dom": "^6.4.2",
"@types/d3": "^7.4.3",
"d3-axis": "2",
"d3-dispatch": "2",
"d3-fetch": "2",
"d3-format": "2",
"d3-interpolate": "^3.0.1",
"d3-scale": "^4.0.2",
"d3-selection": "2",
"d3-time": "2",
"d3-time-format": "3",
"d3-transition": "^3.0.1",
"source-map-support": "^0.5.21"
},
"peerDependencies": {
"d3": "^7.0.0"
},
"devDependencies": {
"@babel/cli": "^7.23.9",
"@babel/core": "^7.24.5",
"@babel/eslint-parser": "^7.23.10",
"@babel/plugin-transform-classes": "^7.23.8",
"@babel/preset-env": "^7.24.5",
"@babel/preset-typescript": "^7.24.1",
"@babel/register": "^7.23.7",
"@cypress/code-coverage": "^3.12.32",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@swc/jest": "^0.2.36",
"@testing-library/cypress": "^10.0.1",
"@types/jasmine": "^5.1.4",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.7",
"babel-plugin-istanbul": "^6.1.1",
"cypress": "^13.6.6",
"cypress-localstorage-commands": "^2.2.5",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"mocha": "^10.4.0",
"nyc": "^15.1.0",
"prettier": "^3.2.5",
"rollup": "^4.17.2",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-local-resolve": "^1.0.7",
"rollup-plugin-serve": "^1.1.1",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2"
},
"repository": {
"type": "git",
"url": "https://github.com/BigFatDog/cubism-es.git"
},
"keywords": [
"Cubism",
"Time Series",
"ES6",
"Data Visualization",
"D3",
"D3V7"
],
"author": {
"name": "Yun Xing",
"email": "ink.xing.yun@gmail.com",
"url": "https://github.com/BigFatDog/"
},
"license": "MIT",
"homepage": "https://github.com/BigFatDog/cubism-es"
}