-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 1.73 KB
/
package.json
File metadata and controls
57 lines (57 loc) · 1.73 KB
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
{
"name": "@bnfe/localstorage-slim",
"title": "@bnfe/localstorage-slim",
"description": "轻量级, 只有3KB的本地存储工具,可选支持ttl和加密,支持小程序和web",
"version": "1.1.0",
"homepage": "https://github.com/bnfe/localstorage-slim",
"scripts": {
"build": "rollup -c",
"dev": "NODE_ENV=development rollup -c --watch",
"prod": "NODE_ENV=production rollup -c",
"tag": "npm version minor --no-git-tag-version && npm run prod && PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git commit -am \"$PACKAGE_VERSION release\" && git tag v$PACKAGE_VERSION",
"test": "jest --verbose",
"lint": "eslint ./src --ext .ts --fix"
},
"jest": {
"transform": {
"^.+\\.(js|jsx)$": "babel-jest",
"^.+\\.(ts|tsx)?$": "ts-jest"
}
},
"author": {
"name": "tangtianbo",
"email": "tangtianbo25@outlook.com"
},
"types": "dist/ls.d.ts",
"main": "dist/index.umd.js",
"repository": {
"type": "git",
"url": "https://github.com/bnfe/localstorage-slim"
},
"bugs": {
"url": "https://github.com/bnfe/localstorage-slim/issues"
},
"files": [
"dist/"
],
"keywords": [
"localstorage"
],
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@rollup/plugin-babel": "^6.0.3",
"@types/babel__core": "^7.20.0",
"copyfiles": "^2.4.1",
"crypto-js": "^4.0.0",
"jest": "^26.6.3",
"prettier": "^2.1.2",
"rollup": "^3.17.3",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.34.1",
"ts-jest": "^26.4.4",
"ts-loader": "^8.0.5",
"typescript": "^4.0.3"
}
}