-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
103 lines (103 loc) · 3.25 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
{
"name": "stream-to-async-iterator",
"version": "1.0.0",
"description": "ES async interator wrapper for node streams",
"keywords": [
"node",
"stream",
"async-iterator",
"promise",
"esnext"
],
"homepage": "https://github.com/basicdays/node-stream-to-async-iterator#readme",
"bugs": {
"url": "https://github.com/basicdays/node-stream-to-async-iterator/issues"
},
"license": "MIT",
"author": "BasicDays <[email protected]> (https://www.basicdays.com)",
"main": "lib/stream-to-async-iterator.js",
"repository": {
"type": "git",
"url": "git+https://github.com/basicdays/node-stream-to-async-iterator.git"
},
"engines": {
"node": ">=12"
},
"scripts": {
"build": "run-p 'build:*'",
"build:babel": "babel src --out-dir lib --source-maps --copy-files --extensions '.ts,.tsx,.js,.mjs'",
"build:tsc": "tsc --emitDeclarationOnly",
"clean": "rimraf coverage lib .nyc_output *.tsbuildinfo",
"cover": "BABEL_ENV=cover nyc mocha --config ./.mocharc.cover.json",
"format": "run-s format:eslint format:prettier",
"format:eslint": "npm run test:eslint -- --fix",
"format:prettier": "prettier --write .",
"test": "run-p 'test:*'",
"test:eslint": "eslint . --ext '.ts,.tsx,.js,.mjs'",
"test:mocha": "mocha",
"test:prettier": "prettier --check .",
"test:tsc": "tsc --noEmit",
"watch": "run-p 'watch:*'",
"watch:babel": "npm run build:babel -- --watch",
"watch:tsc": "npm run build:tsc -- --watch --preserveWatchOutput"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.7",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@babel/register": "^7.17.7",
"@istanbuljs/nyc-config-babel": "^3.0.0",
"@types/chai": "^4.3.0",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.21",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"babel-plugin-istanbul": "^6.1.1",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"eslint": "^8.11.0",
"eslint-config-prettier": "^8.5.0",
"mocha": "^9.2.2",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"source-map-support": "^0.5.21",
"typescript": "^4.6.2"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": 12
}
}
],
"@babel/preset-typescript"
],
"env": {
"cover": {
"plugins": [
"babel-plugin-istanbul"
]
}
}
},
"browserslist": [
"maintained node versions"
],
"nyc": {
"extends": "@istanbuljs/nyc-config-babel",
"include": [
"src/**/*.{ts,tsx,js,mjs}"
],
"exclude": [
"src/test/**",
"*.test.{ts,tsx,js,mjs}"
]
}
}