-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 1.47 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
{
"name": "lazy-react",
"version": "3.5.0",
"description": "components to lazy load iframes, images and images as backgrounds",
"source": "./src/index.tsx",
"main": "./dist/index.js",
"scripts": {
"start": "parcel serve ./src/demo/index.html --dist-dir ./demo",
"build": "parcel build",
"lint": "eslint src/*",
"lint:fix": "eslint --fix src/*",
"format": "prettier --write --single-quote --no-semi ./src/*.tsx",
"precommit": "lint-staged",
"test": "jest"
},
"targets": {
"main": {
"optimize": true
}
},
"lint-staged": {
"src/*.js": [
"prettier --write --single-quote --no-semi",
"git add"
]
},
"keywords": [
"react",
"lazy-load"
],
"author": "Jonathan Obino",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/jonathanobino/react-lazy"
},
"devDependencies": {
"@testing-library/react": "^12.1.4",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.21",
"@types/react": "^17.0.43",
"@types/react-dom": "^17.0.14",
"@typescript-eslint/eslint-plugin": "^5.35.1",
"@typescript-eslint/parser": "^5.35.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-react": "^7.30.1",
"husky": "^4.3.0",
"jest": "^27.5.1",
"lint-staged": "^10.4.0",
"parcel": "^2.7.0",
"prettier": "^2.1.2",
"process": "^0.11.10"
},
"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
}
}