-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 2.66 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
{
"name": "browser-id",
"version": "2.0.97",
"description": "Unique ID for current browser (client).",
"funding": "https://github.com/CatChen/browser-id?sponsor=1",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"test": "jest src",
"build": "babel src -d lib --ignore '**/__tests__/**' && flow-copy-source -v -i '**/__tests__/**' src lib && 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/browser-id.git"
},
"keywords": [
"versioned",
"storage"
],
"author": "catchen",
"license": "MIT",
"bugs": {
"url": "https://github.com/CatChen/browser-id/issues"
},
"homepage": "https://github.com/CatChen/browser-id#readme",
"eslintConfig": {
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true,
"jest": true
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2018
},
"plugins": [
"flowtype"
],
"rules": {}
},
"devDependencies": {
"@serverless-guru/prettier-plugin-import-order": "^0.4.1",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.3",
"babel-jest": "^29.0.1",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"codecov": "^3.6.1",
"eslint": "^9.1.1",
"eslint-plugin-flowtype": "^8.0.2",
"flow-bin": "^0.250.0",
"flow-copy-source": "^2.0.8",
"flow-remove-types": "^2.111.3",
"is-ci": "^3.0.1",
"jest": "^29.0.1",
"json": "^11.0.0",
"pinst": "^3.0.0",
"prettier": "^3.0.2",
"typescript": "^5.0.2"
},
"optionalDependencies": {
"husky": "^9.1.4",
"lint-staged": "^15.2.7"
},
"dependencies": {
"uuid": "^10.0.0",
"versioned-storage": "2.0.69"
},
"engines": {
"node": ">=18"
},
"lint-staged": {
"*.(js,ts)": "yarn prettier -w",
"*.json": "yarn prettier -w",
"*.(yml,yaml)": "yarn prettier -w",
"*.(md,markdown)": "yarn prettier -w"
}
}