1 Star 5 Fork 2

RHQYZ/skit-storage.js

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 2.66 KB
一键复制 编辑 原始数据 按行查看 历史
RHQYZ 提交于 2022-01-26 23:35 +08:00 . build: 使用 pnpm 替代 npm
{
"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"
]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/fudiwei/skit-storage.js.git
git@gitee.com:fudiwei/skit-storage.js.git
fudiwei
skit-storage.js
skit-storage.js
main

搜索帮助