-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
66 lines (66 loc) · 2.12 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
{
"name": "versioned-storage",
"version": "3.1.11",
"description": "Local storage with versioning.",
"funding": "https://github.com/CatChen/versioned-storage?sponsor=1",
"type": "module",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"test": "jest",
"build": "tsc",
"registry:github": "cat package.json | json -e 'this.name = \"@CatChen/\" + this.name; this.publishConfig = {}; this.publishConfig.registry = \"https://npm.pkg.github.com/\"' > package.github.json && mv -f package.github.json package.json",
"registry:npm": "cat package.json | json -e 'this.name = this.name.replace(new RegExp(\"^@CatChen/\"), \"\"); this.publishConfig = undefined' > package.npm.json && mv -f package.npm.json package.json",
"prepublish": "rm -rf lib && yarn build",
"prepare": "is-ci || husky",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable"
},
"repository": {
"type": "git",
"url": "git+https://github.com/CatChen/versioned-storage.git"
},
"keywords": [
"versioned",
"storage"
],
"author": "catchen",
"license": "MIT",
"bugs": {
"url": "https://github.com/CatChen/versioned-storage/issues"
},
"homepage": "https://github.com/CatChen/versioned-storage#readme",
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.15.0",
"@serverless-guru/prettier-plugin-import-order": "^0.4.1",
"@types/jest": "^29.5.14",
"codecov": "^3.6.1",
"eslint": "^9.0.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-flowtype": "^8.0.2",
"eslint-plugin-prettier": "^5.2.1",
"flow-bin": "^0.262.0",
"is-ci": "^4.1.0",
"jest": "^29.0.1",
"json": "^11.0.0",
"pinst": "^3.0.0",
"prettier": "^3.0.2",
"ts-jest": "^29.2.5",
"typescript": "^5.0.2",
"typescript-eslint": "^8.15.0"
},
"optionalDependencies": {
"husky": "^9.1.4",
"lint-staged": "^15.2.7"
},
"engines": {
"node": ">=18"
},
"lint-staged": {
"*.(js,ts,js.flow)": "yarn eslint --fix",
"*.json": "yarn eslint --fix",
"*.(yml,yaml)": "yarn prettier -w",
"*.(md,markdown)": "yarn prettier -w"
}
}