Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.79 KB
/
Copy pathpackage.json
File metadata and controls
54 lines (54 loc) · 1.79 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
{
"name": "light-storage",
"version": "1.1.4",
"description": "A lightweight tool for handing localStorage.",
"main": "dist/light-storage.umd.js",
"module": "dist/light-storage.esm.js",
"types": "dist/light-storage.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "npm run build-ts && npm run build-rollup && npm run build-dts && rimraf .cache",
"build-ts": "rimraf .cache && tsc -p tsconfig.json --outDir .cache",
"build-rollup": "rimraf dist && rollup -c scripts/rollup.config.js -i .cache/src/index.js",
"build-dts": "api-extractor run --local --typescript-compiler-folder \"node_modules/typescript\"",
"lint": "prettier --write --parser typescript \"**/*.ts\"",
"test": "rimraf coverage && jest --runInBand",
"release": "npm test && npm run lint && npm run build && npm publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/xunmi1/light-storage.git"
},
"sideEffects": false,
"keywords": [
"light-storage",
"localStorage"
],
"author": "xunmi <xunmi1@outlook.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/xunmi1/light-storage/issues"
},
"homepage": "https://github.com/xunmi1/light-storage#readme",
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/preset-env": "^7.11.5",
"@babel/preset-typescript": "^7.10.4",
"@microsoft/api-extractor": "^7.9.19",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@types/jest": "^26.0.14",
"@xunmi/event-channel": "^1.0.1",
"@xunmi/prettier-config": "^1.0.1",
"babel-jest": "^26.3.0",
"jest": "^26.4.2",
"prettier": "^2.1.2",
"rimraf": "^3.0.2",
"rollup": "^2.27.1",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^4.0.3"
},
"prettier": "@xunmi/prettier-config"
}