-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
68 lines (68 loc) · 1.76 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
{
"name": "@kvs/indexeddb",
"version": "2.1.4",
"description": "IndexedDB for KVS",
"keywords": [
"kvs",
"indexed",
"storage",
"key-value"
],
"homepage": "https://github.com/azu/kvs/tree/master/packages/indexeddb/",
"bugs": {
"url": "https://github.com/azu/kvs/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/azu/kvs.git"
},
"license": "MIT",
"author": "azu",
"sideEffects": false,
"main": "lib/index.js",
"module": "module/index.js",
"types": "lib/index.d.ts",
"directories": {
"lib": "lib",
"test": "test"
},
"files": [
"bin/",
"lib/",
"module"
],
"scripts": {
"build": "tsc -p . && tsc --project ./tsconfig.module.json",
"clean": "rimraf lib/ module/",
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"prepublishOnly": "npm run clean && npm run build",
"test": "tsc -p .",
"test:browser": "npm run test:chrome && npm run test:firefox && npm run test:webkit",
"test:chrome": "playwright-test ./test/index.test.ts --runner=mocha --browser=chromium",
"test:firefox": "playwright-test ./test/index.test.ts --runner=mocha --browser=firefox",
"test:webkit": "playwright-test ./test/index.test.ts --runner=mocha --browser=webkit"
},
"prettier": {
"printWidth": 120,
"singleQuote": false,
"tabWidth": 4,
"trailingComma": "none"
},
"dependencies": {
"@kvs/types": "^2.1.4"
},
"devDependencies": {
"@kvs/common-test-case": "^2.1.4",
"@types/mocha": "^10.0.1",
"@types/node": "^20.4.2",
"mocha": "^10.2.0",
"playwright-test": "^12.1.1",
"prettier": "^3.0.0",
"rimraf": "^5.0.1",
"ts-loader": "^9.4.4",
"typescript": "^5.1.6"
},
"publishConfig": {
"access": "public"
}
}