/
package.json
138 lines (138 loc) · 4.11 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
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "vis-dev-utils",
"version": "0.0.0-no-version",
"description": "Development utilities for the Vis family projects.",
"homepage": "http://visjs.org/",
"license": "(Apache-2.0 OR MIT)",
"repository": {
"type": "git",
"url": "https://github.com/visjs/vis-dev-utils.git"
},
"bugs": {
"url": "https://github.com/visjs/vis-dev-utils/issues"
},
"keywords": [
"development",
"utils",
"vis"
],
"scripts": {
"build": "run-s build:internal build:production build:declarations",
"build:declarations": "npx tsc --project tsconfig.declarations.json",
"build:internal": "tsc --project tsconfig.internal.json",
"build:production": "rollup --bundleConfigAsCjs --config ./rollup.config.js",
"clean": "rimraf --glob \"./{.nyc_output,.rpt2_cache}\" \"./{bin,coverage,declarations,dist,e2e,gen,lib}/*\"",
"style": "prettier --check .",
"style-fix": "prettier --write .",
"lint": "eslint --ext .js,.ts .",
"lint-fix": "eslint --fix --ext .js,.ts .",
"prepublishOnly": "npm run build",
"test": "run-s test:unit test:interop",
"test:interop": "node interop.js",
"test:interop:debug": "npm run test:interop -- --fail-command \"$SHELL\"",
"test:unit": "mocha --exit",
"watch": "rollup --bundleConfigAsCjs --watch --config rollup.config.js"
},
"lint-staged": {
"**/*.{css,html,js,json,json,md,ts,yml}": [
"prettier --write"
],
"**/*.{js,ts}": [
"eslint --fix"
]
},
"config": {
"snap-shot-it": {
"sortSnapshots": true,
"useRelativePath": true
}
},
"main": "dist/vis-dev-utils.cjs.js",
"module": "dist/vis-dev-utils.esm.js",
"types": "declarations",
"bin": {
"ci-utils": "./bin/ci-utils.js",
"generate-examples-index": "./bin/generate-examples-index.js",
"test-e2e-interop": "./bin/test-e2e-interop.js"
},
"files": [
"LICENSE*",
"README.md",
"babel-preset",
"babel-register",
"bin",
"declarations",
"dist",
"eslint-shareable-config",
"lib"
],
"peerDependencies": {
"@babel/core": "7.23.3",
"@babel/plugin-transform-runtime": "7.23.3",
"@babel/preset-env": "7.23.3",
"@babel/preset-typescript": "7.23.3",
"@babel/register": "7.22.15",
"@babel/runtime-corejs3": "7.23.2",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "25.0.5",
"@rollup/plugin-json": "6.0.1",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-terser": "0.4.4",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"babel-plugin-css-modules-transform": "1.6.2",
"babel-plugin-istanbul": "6.1.1",
"chai": "4.3.10",
"chai-fs": "2.0.0",
"cheerio": "1.0.0-rc.12",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-cypress": "2.15.1",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-jsdoc": "46.8.2",
"eslint-plugin-prettier": "4.2.1",
"find-up": "5.0.0",
"globby": "11.1.0",
"jimp": "0.22.10",
"postcss-assets": "6.0.0",
"prettier": "2.8.8",
"puppeteer": "14.4.1",
"rollup": "3.29.4",
"rollup-plugin-analyzer": "4.0.0",
"rollup-plugin-copy": "3.5.0",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-string": "3.0.0",
"rollup-plugin-strip-code": "0.2.7",
"rollup-plugin-typescript2": "0.36.0",
"tmp": "0.2.1",
"tmp-promise": "3.0.2",
"typescript": "4.9.5",
"yargs": "17.7.2"
},
"devDependencies": {
"@types/babel__core": "7.20.2",
"@types/chai": "4.3.7",
"@types/chai-fs": "2.0.2",
"@types/cheerio": "0.22.32",
"@types/mocha": "10.0.2",
"@types/npm": "7.19.1",
"@types/prettier": "2.7.3",
"@types/puppeteer": "5.4.7",
"@types/sinon": "10.0.19",
"@types/tmp": "0.2.4",
"@types/yargs": "17.0.28",
"eslint": "8.51.0",
"fs-extra": "11.1.1",
"husky": "8.0.3",
"lint-staged": "14.0.1",
"mocha": "10.2.0",
"npm-run-all": "4.1.5",
"rimraf": "5.0.5",
"rollup-plugin-node-externals": "5.1.3",
"sinon": "15.2.0",
"snap-shot-it": "7.9.10"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/visjs"
}
}