-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
85 lines (85 loc) · 2.79 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
{
"name": "squarify",
"version": "0.0.0-semantically-released",
"description": "TypeScript/JavaScript implementation of Bruls et al.'s squarified treemap algorithm",
"keywords": [
"squarify",
"squarified",
"treemap",
"tree",
"map",
"typescript"
],
"license": "MIT",
"author": "Huy Nguyen <huy@huy-nguyen.com> (https://www.huy-nguyen.com/)",
"files": [
"dist",
"lib",
"es"
],
"main": "lib/index.js",
"esnext": "es/index.js",
"repository": {
"type": "git",
"url": "git://github.com/huy-nguyen/squarify.git"
},
"scripts": {
"test": "jest --coverage --no-cache --verbose",
"test:ci": "jest --ci --runInBand --no-cache --coverage --verbose --reporters=default --reporters=jest-junit",
"typecheck": "tsc --noEmit",
"generate:typedef": "tsc --declaration --outDir temp && mkdir -p lib && mv temp/index.d.ts lib/index.d.ts && rm -r temp",
"commit": "git-cz",
"clean:lib": "rimraf lib",
"clean:es": "rimraf es",
"clean:dist": "rimraf dist",
"clean": "npm run clean:lib && npm run clean:es && npm run clean:dist",
"build:lib": "npm run clean:lib && rollup -c -o lib/index.js -f cjs --environment declaration",
"build:es": "npm run clean:es && rollup -c -o es/index.js -f es",
"build:dist": "npm run clean:dist && rollup -c -o dist/index.js -f umd --name squarify --environment minify --environment es5",
"build": "npm run clean && npm run typecheck && npm run build:lib && npm run build:dist && npm run build:es && npm run generate:typedef",
"eslint": "eslint .",
"eslint:fix": "eslint . --fix",
"lint": "npm run eslint",
"validate": "npm run test && npm run lint && npm run build"
},
"types": "./lib/index.d.ts",
"devDependencies": {
"@babel/core": "7.12.10",
"@babel/preset-env": "7.12.11",
"@babel/preset-typescript": "7.10.4",
"@typescript-eslint/eslint-plugin": "4.0.0",
"@typescript-eslint/parser": "3.10.1",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "10.1.0",
"babel-jest": "26.6.3",
"babel-preset-env": "1.7.0",
"commitizen": "4.2.2",
"cz-conventional-changelog-customizable": "1.0.1",
"d3-random": "2.2.2",
"eslint": "7.16.0",
"eslint-plugin-jest": "24.1.3",
"eslint-plugin-react": "7.22.0",
"husky": "4.3.6",
"jest": "26.6.3",
"jest-junit": "11.1.0",
"rollup": "2.35.1",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-terser": "7.0.2",
"seedrandom": "3.0.5",
"tslib": "2.0.3",
"typescript": "4.1.3",
"validate-commit-msg": "2.14.0"
},
"dependencies": {},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog-customizable"
}
},
"husky": {
"hooks": {
"commit-msg": "validate-commit-msg"
}
}
}