-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 2.48 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
{
"name": "apple-news-client",
"version": "0.12.0",
"description": "Apple News API Client for NodeJS and TypeScript",
"main": "index.js",
"types": "./lib/index.d.ts",
"scripts": {
"build": "npm run clean && ./node_modules/.bin/tsc",
"clean": "rm -rf ./lib",
"coverage": "NODE_ENV=test ./node_modules/.bin/nyc report",
"docs": "./node_modules/.bin/typedoc --options typedoc.json && touch docs/.nojekyll",
"lint": "./node_modules/.bin/tslint -c tslint.json 'src/**/*.ts'",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "git add .",
"postversion": "git push",
"setup-test-results": "mkdir .test-reports/nyc && mv coverage/clover.xml .test-reports/nyc/results.xml",
"test": "rm -rf .test-reports && NODE_ENV=test ./node_modules/.bin/nyc ./node_modules/.bin/ts-mocha test/**/*.test.ts --reporter mocha-multi-reporters --reporter-options configFile=test/mocha/config.json && npm run setup-test-results",
"view:coverage-report": "open coverage/index.html",
"view:test-report": "open mochawesome-report/mochawesome.html"
},
"pre-commit": [
"lint",
"test"
],
"keywords": [
"apple news",
"api",
"apple news client",
"client",
"typescript",
"types"
],
"author": {
"name": "Robert Fairley",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/robertfairley/apple-news-client"
},
"license": "MIT",
"dependencies": {
"assert": "^1.4.1",
"file-type": "^9.0.0",
"form-data": "^2.3.2",
"typescript": "^3.1.1"
},
"devDependencies": {
"@types/assert": "^1.4.2",
"@types/chai": "^4.1.5",
"@types/file-type": "^5.2.1",
"@types/form-data": "^2.2.1",
"@types/mocha": "^5.2.5",
"@types/node": "^11.12.0",
"chai": "^4.2.0",
"mocha": "^5.2.0",
"mocha-junit-reporter": "^1.18.0",
"mocha-multi-reporters": "^1.1.7",
"mochawesome": "^3.0.3",
"nyc": "^13.3.0",
"pre-commit": "^1.2.2",
"ts-mocha": "^2.0.0",
"tslint": "^5.11.0",
"typedoc": "^0.12.0"
},
"nyc": {
"include": [
"src/**/*.ts",
"src/**/*.tsx"
],
"exclude": [
"test/**/*.test.ts",
"lib"
],
"extension": [
".ts",
".tsx"
],
"require": [
"ts-node/register"
],
"reporter": [
"text-summary",
"text",
"html",
"clover"
],
"sourceMap": true,
"instrument": true
}
}