-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
35 lines (35 loc) · 1.04 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
{
"name": "ttl-storage",
"version": "1.0.4",
"description": "localStorage/sessionStorage with expiration lifetime",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"type": "module",
"files": [
"lib/"
],
"scripts": {
"format": "prettier-eslint --write \"{,!(node_modules)/**/}*.{js,ts}\"",
"lint": "eslint . --ext .ts",
"tsc": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json",
"test": "npm run tsc && mocha ./tests/*.js",
"prepublish": "npm run format && npm run lint && npm run test && npm run tsc",
"publish": "npm pack --pack-destination ./packs"
},
"author": "Dmitry Kochanzhi",
"license": "ISC",
"devDependencies": {
"@types/node": "^18.6.1",
"@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.33.1",
"chai": "^4.3.7",
"eslint": "^8.19.0",
"jsdom": "21.1.0",
"jsdom-global": "3.0.2",
"mocha": "^10.0.0",
"prettier": "^2.5.1",
"prettier-eslint-cli": "^7.0.1",
"typescript": "^4.7.4"
}
}