-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 1.67 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
{
"name": "localstorage-ponyfill",
"version": "1.0.2",
"description": "Universal LocalStorage for browser and Node.js.",
"keywords": [
"browser",
"isomophic",
"localstorage",
"node",
"universal"
],
"homepage": "https://github.com/azu/localstorage-ponyfill",
"bugs": {
"url": "https://github.com/azu/localstorage-ponyfill/issues"
},
"license": "MIT",
"author": "azu",
"files": [
"bin/",
"lib/",
"src/"
],
"main": "lib/index.js",
"browser": "lib/browser.js",
"types": "lib/index.d.ts",
"directories": {
"lib": "lib",
"test": "test"
},
"repository": {
"type": "git",
"url": "https://github.com/azu/localstorage-ponyfill.git"
},
"scripts": {
"build": "cross-env NODE_ENV=production tsc -p .",
"prepublish": "npm run --if-present build",
"test": "mocha \"test/**/*.ts\"",
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"watch": "tsc -p . --watch"
},
"prettier": {
"printWidth": 120,
"singleQuote": false,
"tabWidth": 4
},
"dependencies": {
"app-root-path": "^2.1.0",
"localstorage-memory": "^1.0.3",
"mkdirp": "^0.5.1",
"node-localstorage": "^1.3.1"
},
"devDependencies": {
"@types/mocha": "^5.2.5",
"@types/node": "^10.12.18",
"@types/trash": "^4.3.1",
"cross-env": "^5.2.0",
"husky": "^1.2.1",
"lint-staged": "^8.1.0",
"mocha": "^5.2.0",
"prettier": "^1.15.3",
"trash": "^4.3.0",
"ts-node": "^7.0.1",
"typescript": "^3.2.2"
},
"husky": {
"hooks": {
"precommit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write",
"git add"
]
}
}