-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
113 lines (113 loc) · 3.07 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
{
"name": "@antv/scale",
"version": "0.4.16",
"description": "Toolkit for mapping abstract data into visual representation.",
"license": "MIT",
"main": "lib/index.js",
"module": "esm/index.js",
"unpkg": "dist/scale.min.js",
"types": "lib/index.d.ts",
"sideEffects": false,
"files": [
"src",
"lib",
"esm",
"dist"
],
"scripts": {
"clean": "rimraf lib esm dist",
"lint-staged": "lint-staged",
"size": "limit-size",
"lint": "eslint ./src/**/*.ts ./__tests__/**/*.ts && prettier ./src ./__tests__ --check ",
"fix": "eslint ./src/**/*.ts ./__tests__/**/*.ts --fix && prettier ./src ./__tests__ --write ",
"test": "run-s test:timezone test:jest",
"test:jest": "jest --testPathIgnorePatterns=__tests__/bugs/d3-timezone.spec.ts",
"test:timezone": "cross-env TZ=Europe/Berlin jest __tests__/bugs/d3-timezone.spec.ts",
"build:umd": "rimraf ./dist && rollup -c && npm run size",
"build:cjs": "rimraf ./lib && tsc --module commonjs --outDir lib",
"build:esm": "rimraf ./esm && tsc --module ESNext --outDir esm",
"build": "run-p build:*",
"ci": "run-s lint test build",
"prepublishOnly": "npm run ci",
"prepare": "husky install"
},
"keywords": [
"antv",
"visualization",
"mapping"
],
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^12.0.1",
"@rollup/plugin-commonjs": "^19.0.0",
"@types/color-string": "^1.5.0",
"@types/jest": "^26.0.20",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.19.0",
"cross-env": "^7.0.3",
"d3-scale": "^3.2.4",
"eslint": "^7.22.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.1.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^5.0.9",
"jest": "^26.6.3",
"limit-size": "^0.1.4",
"lint-staged": "^10.5.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"rollup": "^2.39.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript": "^1.0.1",
"rollup-plugin-uglify": "^6.0.4",
"ts-jest": "^26.5.1",
"tslib": "^2.2.0",
"typescript": "^4.1.5"
},
"jest": {
"preset": "ts-jest",
"collectCoverage": true,
"testRegex": "(/__tests__/.*\\.(test|spec))\\.ts$",
"collectCoverageFrom": [
"src/**/*.ts"
],
"testEnvironment": "node"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"limit-size": [
{
"path": "dist/scale.min.js",
"limit": "12 Kb",
"gzip": true
},
{
"path": "dist/scale.min.js",
"limit": "40 Kb"
}
],
"author": {
"name": "AntV",
"url": "https://antv.vision/"
},
"repository": {
"type": "git",
"url": "https://github.com/antvis/scale"
},
"bugs": {
"url": "https://github.com/antvis/scale/issues"
},
"dependencies": {
"@antv/util": "^3.3.7",
"color-string": "^1.5.5",
"fecha": "^4.2.1"
}
}