-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
74 lines (74 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
{
"name": "react-identity-component",
"version": "1.0.3",
"description": "A straightforward component to validate and apply a mask on input element that represents civil rights identity",
"keywords": [
"cpf",
"cnpj",
"validator",
"react",
"react-component",
"identity"
],
"main": "./lib/index",
"files": [
"lib",
"dist",
"src"
],
"repository": "https://github.com/luccascosta/react-identity-component",
"author": "Lucas Costa",
"license": "MIT",
"devDependencies": {
"babel": "^6.23.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-jest": "^23.0.0-alpha.0",
"babel-loader": "^7.1.4",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^8.4.1",
"eslint-plugin-react": "^7.27.1",
"husky": "^7.0.4",
"jest": "^22.4.2",
"jest-enzyme": "^6.0.0",
"jsdom": "19.0.0",
"jsdom-global": "3.0.2",
"path": "^0.12.7",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"rimraf": "^2.6.2",
"webpack": "^5.33.0",
"webpack-cli": "^4.0.0",
"webpack-dev-server": "^4.0.0"
},
"scripts": {
"build": "webpack && babel src -d lib",
"clean": "rimraf lib dist coverage",
"prepublish": "npm run clean && npm run build",
"start": "webpack-dev-server -d --config ./example/webpack.config.js",
"test": "jest",
"test:coverage": "npm test -- --coverage --coverageReporters='json-summary'",
"test:badges": "npm run test:coverage && jest-coverage-badges",
"lint": "eslint",
"add:coverage": "git add coverage",
"prepare": "husky install"
},
"jest": {
"roots": [
"src"
],
"collectCoverage": true,
"coverageReporters": [
"json-summary",
"text",
"lcov"
]
},
"dependencies": {
"jest-coverage-badges": "^1.1.2"
}
}