-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
76 lines (76 loc) · 1.91 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": "disable-browser-back-navigation",
"version": "0.1.0",
"description":
"It disables(read override) browser's native back button navigation",
"homepage": "",
"author": {
"name": "Manish Kumar Khedawat",
"email": "[email protected]",
"url": "mkkhedawat.com"
},
"files": ["lib"],
"main": "lib/index.js",
"keywords": ["disable back button", "es6", "node_module"],
"devDependencies": {
"@storybook/react": "^3.3.15",
"@storybook/storybook-deployer": "~2.3.0",
"babel-cli": "~6.26.0",
"babel-core": "~6.26.0",
"eslint": "~4.18.2",
"eslint-config-prettier": "~2.9.0",
"eslint-config-xo": "~0.20.1",
"eslint-plugin-prettier": "~2.6.0",
"husky": "~0.14.3",
"lint-staged": "~7.0.0",
"np": "~2.20.1",
"nsp": "~3.2.1",
"prettier": "~1.11.1",
"react": "~16.2.0",
"react-dom": "~16.2.0",
"rimraf": "~2.6.1"
},
"scripts": {
"prepublish": "nsp check",
"pretest": "eslint .",
"precommit": "lint-staged",
"start": "npm run storybook",
"build":
"rimraf lib && babel src --out-dir lib --ignore test.js --copy-files",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"deploy-storybook": "storybook-to-ghpages",
"publish": "np",
"test": "echo 'No Test Defined'"
},
"lint-staged": {
"*.js": ["eslint --fix", "git add"],
"*.json": ["prettier --write", "git add"]
},
"eslintConfig": {
"globals": {
"window": true,
"document": true
},
"env": {
"browser": true,
"node": true
},
"extends": ["xo", "prettier"],
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true,
"printWidth": 90
}
]
},
"plugins": ["prettier"]
},
"repository": "mkkhedawat/disable-browser-back-navigation",
"license": "MIT",
"dependencies": {
"prop-types": "^15.6.1"
}
}