/
package.json
73 lines (73 loc) · 2.69 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
{
"name": "promise-duplex",
"version": "5.0.3",
"description": "Return promise for duplex stream",
"main": "lib/promise-duplex.js",
"typings": "lib/promise-duplex.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/dex4er/js-promise-duplex"
},
"keywords": [
"promise",
"duplex",
"stream"
],
"author": "Piotr Roszatycki",
"license": "MIT",
"bugs": {
"url": "https://github.com/dex4er/js-promise-duplex/issues"
},
"homepage": "http://github.com/dex4er/js-promise-duplex",
"engines": {
"node": ">=6.0.0"
},
"dependencies": {
"core-js": "^3.6.1",
"promise-readable": "^5.0.4",
"promise-writable": "^5.0.4"
},
"devDependencies": {
"@types/chai": "^4.2.7",
"@types/dirty-chai": "^2.0.2",
"@types/mocha": "^5.2.7",
"@types/node": "^12.12.22",
"@types/simple-websocket": "^7.0.1",
"chai": "^4.2.0",
"changelog-parser": "^2.8.0",
"coveralls": "^3.0.9",
"cross-env": "^6.0.3",
"dirty-chai": "^2.0.1",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.8.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-node": "^10.0.0",
"markdownlint-cli": "^0.20.0",
"mocha": "^7.1.0",
"mocha-steps": "^1.3.0",
"nyc": "^15.0.0",
"prettier": "^1.19.1",
"shx": "^0.3.2",
"simple-websocket": "^8.1.1",
"source-map-support": "^0.5.16",
"ts-node": "^8.5.4",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.7.4",
"websocket-stream": "^5.5.0"
},
"scripts": {
"compile": "tsc --pretty --project .",
"clean": "npm run clean:compile && npm run clean:coverage",
"clean:compile": "shx rm -rf lib",
"clean:coverage": "shx rm -rf coverage .nyc_output",
"lint": "npm run compile && tsc --pretty -p examples && tsc --pretty -p test && eslint . && tslint -t stylish -p . && tslint -t stylish -p examples && tslint -t stylish -p test && prettier --ignore-path .gitignore --list-different '**/*.{js,json,md,ts,yml}' && markdownlint \"*.md\"",
"postpublish": "node -e \"require(\\\"changelog-parser\\\")(\\\"CHANGELOG.md\\\").then(ch => console.log(ch.versions.filter(v => v.version === \\\"$npm_package_version\\\").map(v => \\\"v$npm_package_version\\n\\n\\\" + v.body).concat(\\\"Release v$npm_package_version\\\")[0]))\" | xargs -0 git tag v$npm_package_version -a -m && git push --tags",
"prepack": "npm run compile",
"prepublishOnly": "npm run test",
"pretest": "npm run lint",
"test": "npm run test:spec",
"test:spec": "$NYC mocha \"test/*.ts\"",
"test:coverage": "npm run clean:coverage && cross-env NYC=\"nyc --no-clean --reporter=lcov\" npm run test:spec && nyc report --reporter=text-summary --color"
}
}