-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
81 lines (81 loc) · 2.08 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
{
"name": "stokado",
"type": "module",
"version": "3.0.0",
"description": "stokado can proxy objects of any `storage`-like, providing getter/setter syntax sugars, serialization, subscription listening, expiration setting, one-time value retrieval.",
"author": "KID-joker",
"license": "MIT",
"homepage": "https://github.com/KID-joker/stokado#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/KID-joker/stokado.git"
},
"bugs": {
"url": "https://github.com/KID-joker/stokado/issues"
},
"keywords": [
"localStorage",
"sessionStorage",
"storage",
"browser",
"proxy",
"serializer",
"subscribe",
"expires",
"once",
"disposable"
],
"exports": {
".": {
"types": "./dist/stokado.d.ts",
"require": "./dist/stokado.cjs",
"import": "./dist/stokado.mjs"
}
},
"main": "dist/stokado.cjs",
"module": "dist/stokado.mjs",
"unpkg": "dist/stokado.min.js",
"jsdelivr": "dist/stokado.min.js",
"types": "dist/stokado.d.ts",
"files": [
"dist"
],
"engines": {
"node": ">=16.20.0"
},
"scripts": {
"build": "rimraf dist && rollup -c --environment BUILD:prod",
"dev": "rollup -c -w --environment BUILD:dev",
"test": "rollup -c --environment BUILD:test && npx playwright test",
"lint": "eslint . --fix",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@antfu/eslint-config": "^0.38.6",
"@playwright/test": "^1.36.2",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-html": "^1.0.2",
"@rollup/plugin-typescript": "^11.1.6",
"@types/node": "^18.17.3",
"esbuild": "^0.17.19",
"eslint": "^8.46.0",
"lint-staged": "^15.2.2",
"rimraf": "^5.0.5",
"rollup": "^3.27.2",
"rollup-plugin-dts": "^5.3.1",
"rollup-plugin-esbuild": "^5.0.0",
"rollup-plugin-serve": "^1.1.1",
"serve-then": "^1.0.0",
"simple-git-hooks": "^2.10.0",
"tslib": "^2.6.1",
"typescript": "^4.9.5"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{js,ts,md}": [
"eslint --fix"
]
}
}