-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
87 lines (87 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
{
"name": "@skit/storage",
"title": "storage.js",
"description": "A better way to use storage (strong typing, namespacing, ttl, etc).",
"version": "1.0.0",
"author": "RHQYZ",
"keywords": [
"store",
"storage",
"localstorage",
"sessionstorage",
"cache",
"expiry",
"ttl",
"key-value"
],
"main": "dist/index.cjs.min.js",
"module": "dist/index.esm.min.js",
"typings": "types/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/fudiwei/skit-storage.js.git"
},
"license": "MIT",
"scripts": {
"build": "npm run build:cjs && npm run build:esm && npm run build:umd && npm run build:umd-modern",
"build:cjs": "webpack --config build/webpack.config.commonjs.js",
"build:esm": "webpack --config build/webpack.config.esmodule.js",
"build:umd": "webpack --config build/webpack.config.umd.js",
"build:umd-modern": "webpack --config build/webpack.config.umd-modern.js",
"test": "mocha"
},
"files": [
"src/*",
"dist/*",
"types/*"
],
"engines": {
"node": ">=12",
"npm": ">=7",
"pnpm": ">=6"
},
"devDependencies": {
"@babel/core": "^7.16.12",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
"@babel/plugin-transform-arrow-functions": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.16.10",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@babel/runtime": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8",
"@types/chai": "^4.3.0",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.12",
"@types/wechat-miniprogram": "^3.4.0",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"babel-loader": "^8.2.3",
"chai": "^4.3.6",
"core-js": "^3.20.3",
"eslint": "^8.7.0",
"eslint-plugin-mocha": "^10.0.3",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-standard": "^5.0.0",
"mocha": "^8.4.0",
"mock-local-storage": "^1.1.19",
"prettier": "^2.5.1",
"ts-node": "^10.4.0",
"typescript": "~4.5.5",
"webpack": "^5.67.0",
"webpack-cli": "^4.9.2"
},
"mocha": {
"colors": true,
"recursive": [
"tests/spec/**/*.test.ts"
],
"reporter": [
"spec"
],
"require": [
"ts-node/register",
"mock-local-storage"
]
}
}