-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 2.27 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
{
"name": "gitbook-plugin-datatables",
"version": "0.2.0",
"description": "A plugin to integrate support for DataTables.net",
"repository": {
"type": "git",
"url": "https://github.com/bcopy/gitbook-plugin-datatables.git"
},
"author": "Brice Copy",
"license": "MIT",
"homepage": "https://github.com/bcopy/gitbook-plugin-datatables#readme",
"main": "index.js",
"engines": {
"gitbook": "*"
},
"gitbook": {
"properties": {
"force": {
"type": "boolean",
"required": false,
"title": "Force all generated tables to support datatables (if set to true, all HTML and markdown tables will become datatables)",
"value": false
},
"config-url": {
"type": "string",
"required": false,
"title": "URL of a valid json file containing datatables configurations"
},
"default-config": {
"type": "object",
"required": false,
"title": "Default datatables configuration to apply to all datatables"
}
}
},
"scripts": {
"build": "npm run prepare && npm pack",
"prepare": "copyfiles -uEf ./node_modules/datatables.net*/js/*.min.js ./assets/js && copyfiles -uEf node_modules/jquery/dist/jquery.min.js ./assets/js && copyfiles -uEf node_modules/datatables.net*/css/*.min.css ./assets/css",
"test": "nyc --reporter=lcov mocha --timeout 200000",
"coverage": "cat ./coverage/lcov.info | coveralls",
"clean": "rm -rf ./assets/*/jquery* && rm -rf ./assets/*/*dataTables*"
},
"dependencies": {
"cheerio": "*",
"datatables.net": "*",
"datatables.net-colreorder-dt": "^1.5.6",
"datatables.net-datetime": "^1.1.2",
"datatables.net-dt": "*",
"datatables.net-fixedcolumns-dt": "^4.1.0",
"datatables.net-fixedheader-dt": "^3.2.4",
"datatables.net-responsive-dt": "^2.3.0",
"datatables.net-rowgroup-dt": "^1.2.0",
"datatables.net-searchbuilder-dt": "^1.3.4",
"datatables.net-searchpanes-dt": "^2.0.2",
"datatables.net-select-dt": "^1.4.0",
"yargs": "^17.5.1"
},
"devDependencies": {
"coveralls": "^3.1.1",
"honkit-tester": "^1.9.6",
"mocha": "^9.2.1",
"nyc": "^15.1.0",
"copyfiles": "^2.4.1"
},
"mocha": {
"recursive": true,
"extension": [
"js"
]
},
"files": [
"assets"
]
}