forked from square/dependentree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
62 lines (62 loc) · 2.39 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
{
"name": "@square/dependentree",
"version": "1.0.2",
"description": "A performant visualization library built on top of D3.js which easily converts dependency lists into an interactive tree UI",
"main": "src/index.js",
"exports": {
"import": "./src/index.js",
"require": "./dist/dependentree.js"
},
"author": "Amogh Kambale <[email protected]>",
"license": "Apache-2.0",
"repository": "[email protected]:square/dependentree.git",
"sideEffects": false,
"scripts": {
"start": "yarn serve & yarn build-watch",
"serve": "live-server dev",
"lint": "eslint --cache .",
"lint-fix": "yarn lint --fix",
"dev-init": "mkdir dev/ & yarn dev-copy-html & yarn build-dev-data",
"dev-copy-html": "cp data/index.html dev/index.html",
"build-dev-data": "npx webpack --config webpack/dev-data.js",
"build-dev": "npx webpack --config webpack/dev-lib.js",
"build-watch": "npx webpack --config webpack/dev-lib.js --watch",
"test": "yarn build-test && concurrently --kill-others --success first \"live-server --no-browser --port=8081 tests/page\" \"jest --verbose\"",
"test-short": "yarn build-test && concurrently --kill-others --success first \"live-server --no-browser --port=8081 tests/page\" \"jest\"",
"test-init": "mkdir tests/page/ & yarn test-copy-html && yarn build-test-data",
"test-copy-html": "cp data/index.html tests/page/index.html",
"build-test-data": "npx webpack --config webpack/test-data.js",
"build-test": "npx webpack --config webpack/test-lib.js",
"serve-test": "live-server --no-browser --port=8081 tests/page",
"build": "yarn build-min && yarn build-es5 && yarn build-plain",
"build-min": "npx webpack --config webpack/prod.min.js",
"build-es5": "npx webpack --config webpack/prod.es5.min.js",
"build-plain": "npx webpack --config webpack/prod.max.js"
},
"devDependencies": {
"concurrently": "^6.5.1",
"eslint": "^7.18.0",
"eslint-plugin-square": "^17.0.0",
"husky": "^4.3.8",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"live-server": "^1.2.1",
"puppeteer": "^13.0.1",
"webpack": "^5.4.0",
"webpack-cli": "^4.2.0",
"webpack-merge": "^4.2.2"
},
"dependencies": {
"d3": "^6.2.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": "eslint --fix",
"*.hbs": "ember-template-lint",
"*.scss": "stylelint --fix"
}
}