-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
100 lines (100 loc) · 3.37 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "react-router-last-location",
"version": "2.0.1",
"description": "Provides access to the last location in react + react-router (v4.x) apps. Useful for handling internal routing. Easily prevent leaving your app by users.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"repository": "[email protected]:hinok/react-router-last-location.git",
"author": "Dawid Karabin <[email protected]>",
"license": "MIT",
"files": [
"/dist",
"/src"
],
"keywords": [
"react",
"router",
"route",
"routing",
"history",
"location",
"entries",
"link"
],
"scripts": {
"start": "webpack-dev-server --open --env.example",
"serve": "serve ./example/dist",
"clean": "rm -rf ./dist && rm -rf ./example/dist",
"prebuild": "npm run clean",
"build": "webpack --config webpack.config.js --env.prod",
"prepublish": "npm run build",
"test": "jest --config=jest.config.json",
"test:watch": "jest --config=jest.config.json --watch",
"test:coverage": "jest --config=jest.config.json --coverage",
"lint": "eslint . --ext .js",
"ci": "run-p lint build test:coverage",
"postci": "cat ./coverage/lcov.info | coveralls"
},
"peerDependencies": {
"prop-types": "^15.6.0",
"react": "^15.5.4 || ^16.0.0 || ^17.0.0",
"react-dom": "^15.5.4 || ^16.0.0 || ^17.0.0",
"react-router-dom": "^4.1.1 || ^5.0.1"
},
"devDependencies": {
"@babel/core": "^7.5.0",
"@babel/plugin-proposal-class-properties": "^7.5.0",
"@babel/plugin-proposal-decorators": "^7.4.4",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
"@babel/plugin-proposal-function-sent": "^7.5.0",
"@babel/plugin-proposal-json-strings": "^7.0.0",
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-syntax-import-meta": "^7.0.0",
"@babel/plugin-transform-modules-commonjs": "^7.5.0",
"@babel/preset-env": "^7.5.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@testing-library/dom": "^8.0.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "^7.0.0",
"@testing-library/user-event": "^13.1.9",
"@types/jest": "^24.0.15",
"@types/prop-types": "^15.7.1",
"@types/react": "^16.8.23",
"@types/react-dom": "^16.8.4",
"@types/react-router-dom": "^4.3.4",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.2",
"babel-jest": "^24.8.0",
"babel-loader": "^8.0.6",
"coveralls": "^3.0.4",
"css-hot-loader": "^1.4.4",
"css-loader": "^3.0.0",
"eslint": "^5.3.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.11.0",
"html-webpack-plugin": "^3.2.0",
"jest": "^24.8.0",
"linaria": "^1.4.0-alpha.1",
"mini-css-extract-plugin": "^0.7.0",
"npm-run-all": "^4.1.5",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-router-dom": "^5.0.1",
"react-test-renderer": "16.8.6",
"serve": "^11.0.2",
"ts-jest": "^24.0.2",
"ts-loader": "^6.0.4",
"typescript": "^3.5.2",
"webpack": "^4.35.2",
"webpack-cli": "^3.3.5",
"webpack-dev-server": "^3.7.2",
"webpack-merge": "^4.2.1"
}
}