-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 3.54 KB
/
package.json
File metadata and controls
125 lines (125 loc) · 3.54 KB
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
118
119
120
121
122
123
124
125
{
"name": "@gridspace/net-level",
"version": "0.2.6",
"description": "shared, authenticated network access to leveldb",
"author": "Stewart Allen <sa@grid.space>",
"license": "MIT",
"private": false,
"main": "index.js",
"np": {
"contents": "."
},
"engines": {
"node": ">=20.10.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"scripts": {
"build": "rimraf dist && ./esbuild.mjs",
"commitlint": "commitlint --edit",
"coverage": "jest --coverage --detectOpenHandles --forceExit ",
"doc:publish": "cd documentation && GIT_USER=CourtHive USE_SSH=true yarn deploy",
"format": "prettier --write lib",
"lint:staged": "TZ=UTC lint-staged",
"lint": "eslint lib --fix --cache",
"prepare": "husky",
"release": "npx np --no-tests",
"report": "http-server -o coverage/lcov-report",
"test": "jest --detectOpenHandles --forceExit "
},
"bin": {
"net-level-cli": "./lib/cli.js",
"net-level-clone": "./lib/clone.js",
"net-level-server": "./lib/server.js"
},
"files": [
"index.js",
"lib/cli.js",
"lib/util.js",
"lib/clone.js",
"lib/client.js",
"lib/server.js",
"package.json"
],
"repository": {
"type": "git",
"url": "git+https://github.com/gridspace/net-level.git"
},
"keywords": [
"network",
"leveldb",
"storage"
],
"dependencies": {
"dayjs": "1.11.10",
"dotenv": "16.4.5",
"express": "4.19.2",
"fs-extra": "^11.2.0",
"level": "8.0.1",
"minimist": "1.2.8",
"serve-static": "1.15.0",
"ts-jest": "^29.1.2",
"ws": "^8.16.0"
},
"devDependencies": {
"@commitlint/cli": "^19.0.0",
"@commitlint/config-conventional": "^19.0.0",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "7.6.0",
"@typescript-eslint/parser": "7.6.0",
"esbuild": "^0.20.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-jest": "28.2.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-react": "7.34.1",
"http-server": "^14.1.1",
"husky": "^9.0.11",
"i": "^0.3.7",
"jest": "^29.7.0",
"lint-staged": "^15.2.2",
"np": "10.0.3",
"prettier": "3.2.5",
"prettier-eslint": "16.3.0",
"rimraff": "0.0.1-security",
"ts-jest": "^29.1.2"
},
"lint-staged": {
"lib/**/*.{js,ts,json,css,md}": "prettier --write",
"lib/**/*.{j,t}s?(x)": "eslint --cache --fix"
},
"jest": {
"globalSetup": "./tests/config/setup.ts",
"globalTeardown": "./tests/config/teardown.ts",
"testPathIgnorePatterns": [
"<rootDir>/example"
],
"modulePathIgnorePatterns": [
"<rootDir>/documentation/",
"<rootDir>/scratch/"
],
"testTimeout": 5000,
"moduleDirectories": [
"node_modules",
"lib"
],
"moduleFileExtensions": [
"js",
"ts"
],
"modulePaths": [
"<rootDir>"
],
"rootDir": "./",
"testRegex": ".*\\.test.(t|j)s$",
"transform": {
"^.+\\.ts$": "ts-jest"
},
"collectCoverageFrom": [
"**/lib/*.(t|j)s"
],
"coverageDirectory": "coverage",
"testEnvironment": "node"
}
}