-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.42 KB
/
Copy pathpackage.json
File metadata and controls
49 lines (49 loc) · 1.42 KB
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
{
"dependencies": {
"vis-network": "9.1.13"
},
"scripts": {
"postinstall": "copy-files-from-to && node resources/utility/inject-nomin.js",
"lint": "eslint --ext .js resources tests/node-qunit",
"test": "npm run lint && npm run node-qunit",
"test-coverage": "npm run node-qunit-coverage",
"node-qunit": "qunit --require ./tests/node-qunit/setup.js 'tests/node-qunit/**/*.test.js'",
"node-qunit-coverage": "nyc --reporter=text --reporter=html --reporter=clover --report-dir=coverage/js --all npm run node-qunit"
},
"copyFiles": [
{
"from": "node_modules/vis-network/dist/vis-network.min.js",
"to": "resources/visNetwork/vis-network.min.js"
},
{
"from": "node_modules/vis-network/dist/vis-network.min.js.map",
"to": "resources/visNetwork/vis-network.min.js.map"
},
{
"from": "node_modules/vis-network/styles/vis-network.min.css",
"to": "resources/visNetwork/vis-network.min.css"
}
],
"copyFilesSettings": {
"whenFileExists": "overwrite"
},
"nyc": {
"include": [
"resources/**/*.js"
],
"exclude": [
"**/*.min.js",
"resources/visNetwork/**",
"resources/utility/**",
"**/node_modules/**"
]
},
"devDependencies": {
"copy-files-from-to": "^4.0.1",
"eslint": "^8.57.1",
"eslint-config-wikimedia": "^0.32.4",
"insert-line": "^1.1.0",
"nyc": "^18.0.0",
"qunit": "^2.22.0"
}
}