/
package.json
104 lines (104 loc) · 2.84 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
101
102
103
104
{
"name": "react-obfuscate",
"version": "3.6.8",
"description": "An intelligent React component to obfuscate any contact link",
"main": "dist/obfuscate.js",
"files": [
"dist/obfuscate.js"
],
"author": "Coston Perkins <costonperkins@me.com> (https://coston.io)",
"homepage": "https://github.com/coston/react-obfuscate",
"repository": {
"type": "git",
"url": "git+https://github.com/coston/react-obfuscate.git"
},
"bugs": {
"url": "https://github.com/coston/react-obfuscate/issues"
},
"license": "MIT",
"engines": {
"node": ">= 0.10.0"
},
"scripts": {
"start": "next",
"build": "babel -d dist src",
"build-site": "next build",
"clean": "rm -rf dist && mkdir dist",
"export": "yarn build-site && next export",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint --ext=js --ext=jsx ./src",
"lint:fix": "eslint --ext=js --ext=jsx ./src --fix",
"coveralls": "jest --coverage && cat ./coverage/lcov.info | coveralls",
"preversion": "yarn test && yarn lint:fix && yarn clean && yarn build && yarn export",
"postpublish": "git push && git push --tag"
},
"devDependencies": {
"@babel/cli": "7.12.17",
"@babel/core": "7.12.17",
"@babel/plugin-transform-spread": "7.12.13",
"@babel/preset-env": "7.12.17",
"@babel/preset-react": "7.12.13",
"@commitlint/cli": "12.0.1",
"@commitlint/config-conventional": "12.0.1",
"babel-eslint": "10.1.0",
"babel-jest": "26.6.3",
"coveralls": "3.1.0",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.6",
"enzyme-to-json": "3.6.1",
"eslint": "7.20.0",
"eslint-config-airbnb": "18.2.1",
"eslint-config-prettier": "8.1.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-prettier": "3.3.1",
"eslint-plugin-react": "7.22.0",
"eslint-plugin-react-hooks": "4.2.0",
"husky": "4.3.8",
"jest": "26.6.3",
"lint-staged": "10.5.4",
"next": "10.0.8",
"prettier": "2.2.1",
"prop-types": "15.7.2",
"react": "16.14.0",
"react-dom": "16.14.0",
"react-live": "2.2.3",
"react-test-renderer": "16.14.0",
"react-window-ui": "2.2.0"
},
"jest": {
"setupFiles": [
"./test/jestsetup.js"
],
"collectCoverage": true,
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"moduleNameMapper": {
"^.+\\.(css|scss)$": "identity-obj-proxy"
}
},
"peerDependencies": {
"prop-types": ">= 15",
"react": ">= 16.8",
"react-dom": ">= 16.8"
},
"lint-staged": {
"*.{js,jsx}": [
"eslint --fix"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}