-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpackage.json
126 lines (126 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "hill-chart",
"description": "Basecamp's hill chart implementation in d3.js",
"version": "2.0.1",
"author": "Ahmed Nagi <[email protected]> (https://ahmednagi.com)",
"license": "MIT",
"main": "dist/cjs/hill-chart.cjs.js",
"module": "dist/esm/index.js",
"style": "dist/styles.css",
"files": [
"dist"
],
"engines": {
"node": ">=14"
},
"scripts": {
"add-contributors": "all-contributors add",
"build": "rollup -c",
"clean": "rimraf dist demo/dist",
"deploy": "gh-pages -d demo/",
"format": "prettier --write \"**/*.+(js|json|yml|yaml|css|md|ts)\"",
"lint": "eslint \"./**/*.{js,ts}\"",
"lint:fix": "eslint \"./**/*.{js,ts}\" --fix",
"postbuild": "copyfiles dist/**/* demo",
"prebuild": "yarn clean",
"prepublishOnly": "yarn build",
"serve": "serve demo",
"start": "concurrently \"yarn watch\" \"yarn serve\"",
"test": "jest",
"test:coverage": "yarn test --coverage --collectCoverageFrom=src/**/*js --collectCoverageFrom=!src/d3.js",
"test:coveralls": "yarn test --coverage && coveralls < coverage/lcov.info",
"test:staged": "yarn test --findRelatedTests",
"watch": "rollup -c -w --watch.onEnd=\"yarn postbuild\""
},
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/plugin-transform-modules-commonjs": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-node-resolve": "^14.1.0",
"@rollup/plugin-typescript": "^8.5.0",
"@types/d3-array": "^2.12.3",
"@types/d3-axis": "^1.0.16",
"@types/d3-drag": "^1.2.5",
"@types/d3-scale": "^3.3.2",
"@types/d3-selection": "^1.4.3",
"@types/d3-shape": "^1.3.8",
"@types/event-emitter-es6": "^1.1.1",
"@types/jest": "^26.0.24",
"all-contributors-cli": "^6.21.0",
"autoprefixer": "^9.8.0",
"babel-jest": "^26.6.3",
"concurrently": "^7.4.0",
"copyfiles": "^2.4.1",
"coveralls": "^3.1.0",
"cssnano": "^4.1.10",
"eslint": "8.24.0",
"eslint-config-ns-ts-base": "^3.3.0",
"gh-pages": "^2.2.0",
"husky": "^4.2.5",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.6.3",
"lint-staged": "^10.2.2",
"postcss": "^8.4.16",
"prettier": "^2.7.1",
"react-test-renderer": "^16.13.1",
"rimraf": "^3.0.2",
"rollup": "^2.79.1",
"rollup-plugin-bundle-size": "^1.0.3",
"rollup-plugin-multi-input": "^1.3.1",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "^5.8.2",
"serve": "^14.0.1",
"ts-essentials": "^9.3.0",
"ts-jest": "26.5.6",
"typescript": "^4.8.3"
},
"dependencies": {
"d3-array": "2.4.0",
"d3-axis": "1.0.12",
"d3-drag": "1.2.5",
"d3-scale": "3.2.1",
"d3-selection": "1.4.1",
"d3-shape": "1.3.7",
"event-emitter-es6": "1.1.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.+(json|css|md|yaml|yml)": [
"yarn format"
],
"*.(js,ts)": [
"yarn lint:fix",
"yarn format",
"yarn test:staged"
]
},
"jest": {
"preset": "ts-jest",
"moduleNameMapper": {
"\\.(css|less)$": "identity-obj-proxy"
}
},
"keywords": [
"basecamp",
"hill chart",
"project management",
"js",
"d3js"
],
"repository": {
"type": "git",
"url": "https://github.com/nagi1/hill-chart"
},
"bugs": {
"email": "[email protected]",
"url": "https://github.com/nagi1/hill-chart/issues"
},
"homepage": "https://nagi1.github.io/hill-chart/"
}