/
package.json
87 lines (87 loc) · 2.38 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
{
"name": "react-dropout",
"version": "1.0.0",
"description": "Easy way of managing navigation in react based apps.",
"main": "dist/Dropout.js",
"repository": "git@github.com:pawelnvk/react-dropout.git",
"author": "Paweł Nowak<pawelnvk@gmail.com>",
"license": "MIT",
"type": "module",
"files": [
"dist",
"src"
],
"keywords": [
"responsive",
"respo",
"navigation",
"nav",
"smart",
"greedy",
"react"
],
"homepage": "https://github.com/pawelnvk/react-dropout#readme",
"bugs": {
"url": "https://github.com/pawelnvk/react-dropout/issues"
},
"devDependencies": {
"@babel/core": "^7.19.6",
"@babel/eslint-parser": "^7.19.1",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/preset-env": "^7.19.4",
"@babel/preset-react": "^7.18.6",
"@babel/standalone": "^7.20.0",
"@playwright/test": "^1.27.1",
"@rollup/plugin-babel": "^6.0.2",
"@rollup/plugin-commonjs": "^23.0.2",
"@rollup/plugin-eslint": "^9.0.1",
"@rollup/plugin-node-resolve": "^15.0.1",
"eslint": "^8.26.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.10",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^1.1.2",
"jest": "^29.2.2",
"jest-environment-jsdom": "^29.2.2",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^3.2.3",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-serve": "^2.0.1"
},
"peerDependencies": {
"react": "17 <"
},
"scripts": {
"build": "ENVIRONMENT=production rollup -c",
"clean": "rimraf dist",
"lint": "yarn eslint src",
"prepublishOnly": "yarn clean && yarn lint && yarn test:unit:ci && yarn test:e2e && yarn build",
"start": "ENVIRONMENT=development rollup -c --watch",
"start:test": "ENVIRONMENT=testing rollup -c --watch",
"test:unit": "jest --env=jsdom --watch",
"test:unit:ci": "jest --env=jsdom --coverage",
"test:e2e": "playwright test"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.js"
],
"testMatch": [
"**/?(*.)+(test).[jt]s?(x)"
]
}
}