/
package.json
70 lines (70 loc) · 1.82 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
{
"name": "nsed",
"version": "3.0.12",
"description": "Javascript Terminal String Editor",
"homepage": "https://sw.cowtech.it/nsed",
"repository": "github:ShogunPanda/nsed",
"keywords": [
"terminal",
"string",
"editor"
],
"bugs": {
"url": "https://github.com/ShogunPanda/nsed/issues"
},
"author": "Shogun <shogun@cowtech.it>",
"license": "ISC",
"private": false,
"files": [
"bin",
"dist",
"CHANGELOG.md",
"LICENSE.md",
"README.md"
],
"bin": {
"nsed": "bin/nsed.mjs"
},
"type": "module",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"dev": "swc --delete-dir-on-start -s -w -d dist src",
"prebuild": "rm -rf dist && npm run lint",
"build": "swc -d dist src",
"postbuild": "tsc -p . --emitDeclarationOnly",
"format": "prettier -w src test",
"lint": "eslint src test",
"test": "c8 -c test/config/c8-local.json tap --rcfile=test/config/tap.yml test/*.test.ts",
"test:ci": "c8 -c test/config/c8-ci.json tap --rcfile=test/config/tap.yml --no-color test/*.test.ts",
"ci": "npm run build && npm run test:ci",
"prepublishOnly": "npm run ci",
"postpublish": "git push origin && git push origin -f --tags"
},
"dependencies": {
"commander": "^9.4.1",
"get-stream": "^6.0.1",
"pump": "^3.0.0",
"split2": "^4.1.0"
},
"devDependencies": {
"@cowtech/eslint-config": "^8.7.5",
"@swc/cli": "^0.1.57",
"@swc/core": "^1.3.7",
"@types/node": "^18.8.4",
"@types/pump": "^1.1.1",
"@types/sinon": "^10.0.13",
"@types/split2": "^3.2.1",
"@types/tap": "^15.0.7",
"c8": "^7.12.0",
"chokidar": "^3.5.3",
"prettier": "^2.7.1",
"sinon": "^14.0.1",
"tap": "^16.3.0",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
},
"engines": {
"node": ">=14.15.0"
}
}