-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
80 lines (80 loc) · 2.52 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
{
"name": "react-instascan",
"version": "1.0.0",
"description": "A React port of the Instascan lib",
"main": "dist/main.js",
"repository": "[email protected]:rubenspgcavalcante/react-instascan.git",
"author": "Rubens Pinheiro <[email protected]>",
"license": "MIT",
"private": false,
"browserslist": [
"defaults",
"not IE >= 0",
"not OperaMini all",
"not ios_saf 10.3"
],
"jest": {
"transform": {
"^.+\\.jsx?$": "babel-jest"
},
"moduleNameMapper": {
"instascan-umd": "<rootDir>/tests/__mocks__/instascan-umd.mock.js"
},
"collectCoverageFrom": [
"src/{components,utils}/*.{js,jsx}"
]
},
"scripts": {
"precommit": "yarn format",
"prepush": "yarn eslint",
"prepublish": "yarn test && yarn build",
"test": "NODE_ENV=test jest --coverage",
"test:watch": "yarn test --watch",
"test:watch:debug": "node --inspect-brk node_modules/.bin/jest --watch",
"build": "NODE_ENV=production webpack",
"start": "NODE_ENV=development webpack-dev-server --open",
"eslint": "eslint \"{webpack.config.js,{sample,src,tests}/**/*.{js,jsx}}\"",
"format": "prettier-eslint --write \"{webpack.config.js,{sample,src,tests}/**/*.{js,jsx}}\"",
"analyze": "NODE_ENV=production webpack --env=analyze",
"codacy-coverage": "cat coverage/lcov.info | codacy-coverage"
},
"devDependencies": {
"@babel/core": "^7.0.0-beta.49",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.49",
"@babel/plugin-transform-modules-commonjs": "^7.0.0-beta.49",
"@babel/preset-env": "^7.0.0-beta.49",
"@babel/preset-react": "^7.0.0-beta.49",
"babel-core": "^7.0.0-0",
"babel-eslint": "^8.2.3",
"babel-jest": "^23.0.1",
"babel-loader": "^8.0.0-beta",
"codacy-coverage": "^3.0.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.19.1",
"eslint-loader": "^2.0.0",
"eslint-plugin-react": "^7.8.2",
"html-webpack-plugin": "^3.2.0",
"html-webpack-template": "^6.2.0",
"husky": "^0.14.3",
"instascan-umd": "^1.0.1",
"jest": "^23.1.0",
"prettier": "^1.13.4",
"prettier-eslint": "^8.8.1",
"prettier-eslint-cli": "^4.7.1",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"regenerator-runtime": "^0.11.1",
"webpack": "^4.10.2",
"webpack-bundle-analyzer": "^2.13.1",
"webpack-cli": "^2.1.4",
"webpack-dev-server": "^3.1.4"
},
"peerDependencies": {
"instascan-umd": ">= 1",
"react": ">= 16.3"
},
"dependencies": {
"prop-types": "^15.6.1"
}
}