forked from huy-nguyen/squarify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 3.1 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
{
"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 <[email protected]> (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",
"tslint": "tslint --project tsconfig.json --config tslint.json",
"tslint:fix": "tslint --project tsconfig.json --config tslint.json --fix",
"eslint": "eslint .",
"eslint:fix": "eslint . --fix",
"lint": "npm run eslint && npm run tslint",
"validate": "npm run test && npm run lint && npm run build",
"codecov": "codecov",
"publish": "semantic-release"
},
"types": "./lib/index.d.ts",
"devDependencies": {
"@babel/core": "7.3.4",
"@babel/preset-env": "7.3.4",
"@babel/preset-typescript": "7.3.3",
"@cid-harvard/eslint-config": "0.1.2",
"@cid-harvard/tslint-config": "0.3.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "8.2.6",
"babel-jest": "23.6.0",
"babel-preset-env": "1.7.0",
"codecov": "3.2.0",
"commitizen": "3.0.7",
"cz-conventional-changelog-customizable": "1.0.1",
"d3-random": "1.1.2",
"eslint": "5.14.1",
"eslint-plugin-jest": "22.3.2",
"eslint-plugin-react": "7.12.4",
"husky": "1.3.1",
"jest": "23.6.0",
"jest-junit": "6.3.0",
"rollup": "1.6.0",
"rollup-plugin-babel": "4.3.1",
"rollup-plugin-node-resolve": "4.0.1",
"rollup-plugin-terser": "4.0.4",
"seedrandom": "3.0.1",
"semantic-release": "15.13.3",
"tslib": "1.9.3",
"tslint": "5.10.0",
"typescript": "3.2.2",
"uglify-js": "3.4.1",
"validate-commit-msg": "2.14.0"
},
"dependencies": {},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog-customizable"
}
},
"husky": {
"hooks": {
"commit-msg": "validate-commit-msg"
}
}
}