-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
117 lines (117 loc) · 3.95 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
{
"name": "apion",
"version": "1.0.0",
"description": "Light and flexible API client creation library.",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
"module": "build/module/index.js",
"files": [
"build/"
],
"repository": "https://github.com/effervescentia/apion",
"author": "Ben Teichman <[email protected]>",
"license": "MIT",
"scripts": {
"describe": "npm-scripts-info",
"build": "run-s clean && run-p build:*",
"build:main": "tsc -p tsconfig.main.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.ts\" --write",
"fix:tslint": "tslint --fix --project .",
"test": "run-s test:*",
"test:lint": "tslint --project .",
"test:unit": "nyc --silent mocha",
"watch": "nyc --silent mocha --watch",
"cov": "run-s test:unit cov:html && opn coverage/index.html",
"cov:html": "nyc report --reporter=html",
"cov:send": "nyc report --reporter=lcov > coverage.lcov && codecov",
"cov:check": "nyc report && nyc check-coverage --lines 95 --functions 95 --branches 90",
"doc": "run-s doc:html && opn build/docs/index.html",
"doc:html": "typedoc src/ --exclude **/*.spec.ts --target ES6 --tsconfig tsconfig.doc.json --mode file --out build/docs",
"doc:json": "typedoc src/ --exclude **/*.spec.ts --target ES6 --tsconfig tsconfig.doc.json --mode file --json build/docs/typedoc.json",
"doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs",
"version": "standard-version",
"reset": "git clean -dfx && git reset --hard && npm i",
"clean": "trash build",
"all": "run-s reset test cov:check doc:html",
"prepare-release": "run-s all version doc:publish"
},
"scripts-info": {
"info": "Display information about the package scripts",
"build": "Clean and rebuild the project",
"fix": "Try to automatically fix any linting problems",
"test": "Lint and unit test the project",
"watch": "Watch and rebuild the project on save, then rerun relevant tests",
"cov": "Rebuild, run tests, then create and open the coverage report",
"doc": "Generate HTML API documentation and open it in a browser",
"doc:json": "Generate API documentation in typedoc JSON format",
"version": "Bump package.json version, update CHANGELOG.md, tag release",
"reset": "Delete all untracked files and reset the repo to the last commit",
"prepare-release": "One-step: clean, build, test, publish docs, and prep a release"
},
"release": {
"verifyConditions": "condition-circle"
},
"nyc": {
"extension": [
".ts"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
},
"lint-staged": {
"{src,test}/**/*.{ts,tsx}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/fetch-mock": "^7.2.3",
"@types/mocha": "^5.2.6",
"@types/node": "^12.0.0",
"@types/ramda": "^0.26.8",
"@types/sinon": "^7.0.11",
"@types/sinon-chai": "^3.2.2",
"chai": "^4.2.0",
"codecov": "^3.3.0",
"condition-circle": "^2.0.2",
"cz-conventional-changelog": "^2.1.0",
"fetch-mock": "^7.3.3",
"gh-pages": "^2.0.1",
"husky": "^2.2.0",
"lint-staged": "^8.1.6",
"mocha": "^6.1.4",
"mocha-suite": "^1.0.11",
"npm-run-all": "^4.1.5",
"nyc": "^14.1.0",
"opn-cli": "^4.1.0",
"prettier": "^1.17.0",
"ramda": "^0.26.1",
"sinon": "^7.3.2",
"sinon-chai": "^3.3.0",
"standard-version": "^5.0.2",
"trash-cli": "^2.0.0",
"ts-node": "^8.1.0",
"tsconfig-paths": "^3.8.0",
"tslib": "^1.9.3",
"tslint": "^5.16.0",
"tslint-config-airbnb": "^5.11.1",
"tslint-config-prettier": "^1.18.0",
"tslint-immutable": "^5.5.2",
"typedoc": "^0.14.2",
"typescript": "^3.4.5"
},
"dependencies": {
"cross-fetch": "^3.0.2",
"url": "^0.11.0"
}
}