-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
77 lines (77 loc) · 2.56 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
{
"name": "capture-template",
"version": "1.1.18",
"description": "This library is responsible for expanding a template web page and then capturing it PNG or PDF.",
"main": "build/index.js",
"types": "build/index.d.ts",
"scripts": {
"start": "ts-node src/index.ts test",
"cli-test1": "ts-node src/index.ts serve --template=test-template/image --port=3000",
"cli-test2": "ts-node src/index.ts capture-image --template=test-template/image --out=test-output/test-image2.png",
"cli-test3": "ts-node src/index.ts capture-pdf --template=test-template/pdf --out=test-output/test.pdf",
"c": "rm -rf build/*",
"clean": "rm -rf build/*",
"b": "tsc",
"build": "tsc",
"cb": "rm -rf build/* && tsc",
"clean-build": "rm -rf build/* && tsc",
"build:watch": "tsc --watch",
"clean-build:watch": "rm -rf build/* && tsc --watch",
"t": "nyc mocha --opts ./src/test/mocha.opts",
"test": "nyc mocha --opts ./src/test/mocha.opts",
"tw ": "mocha --watch --watch-extensions ts --opts ./src/test/mocha.opts",
"test:watch": "mocha --watch --watch-extensions ts --opts ./src/test/mocha.opts",
"prepublishOnly": "tsc"
},
"repository": {
"type": "git",
"url": "git+https://github.com/data-forge/capture.git"
},
"keywords": [],
"author": "[email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/data-forge/capture/issues"
},
"homepage": "https://github.com/data-forge/capture#readme",
"dependencies": {
"chai": "4.1.2",
"express": "^4.17.1",
"fs-extra": "^7.0.1",
"inflate-template": "^1.1.8",
"mime-types": "^2.1.27",
"nightmare": "^3.0.2",
"promisify-any": "^2.0.1",
"yargs": "^12.0.5"
},
"devDependencies": {
"@types/chai": "4.0.4",
"@types/express": "^4.17.7",
"@types/fs-extra": "^5.1.0",
"@types/mime-types": "^2.1.0",
"@types/mocha": "2.2.43",
"@types/node": "8.0.28",
"@types/yargs": "^11.1.5",
"mocha": "3.5.3",
"nyc": "11.8.0",
"source-map-support": "0.5.6",
"ts-node": "3.3.0",
"typescript": "2.5.2"
},
"nyc": {
"extension": [
".ts"
],
"exclude": [
"**/*.d.ts",
"src/test/**/*",
"build/**/*",
"docs/**/*",
"coverage/**/*"
],
"reporter": [
"text-summary"
],
"all": true
}
}