-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
111 lines (111 loc) · 3.56 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
105
106
107
108
109
110
111
{
"name": "react-advertising",
"version": "4.2.14",
"description": "Library for display ads in React applications",
"main": "lib/index.js",
"unpkg": "dist/react-advertising.min.js",
"module": "es/index.js",
"sideEffects": false,
"files": [
"src/",
"lib/",
"dist/",
"es/"
],
"scripts": {
"test": "jest",
"test:e2e": "cypress run",
"clean": "rimraf lib dist es instrumented .nyc_output coverage",
"watch": "webpack --watch",
"watch:e2e": "cypress open --env coverage=false",
"build": "yarn build:es && yarn build:commonjs && yarn build:umd && scripts/setVersionInfo.js",
"build:es": "babel --out-dir es src --ignore src/*.test.js,src/**/*.test.js",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel --out-dir lib src --ignore src/*.test.js,src/**/*.test.js",
"build:umd": "cross-env BABEL_ENV=commonjs webpack",
"build:storybook": "build-storybook",
"build:instrumented": "cross-env INSTRUMENTED=true babel --out-dir instrumented src --ignore src/*.test.js,src/**/*.test.js",
"build:coverage": "scripts/checkCoverage.js",
"eslint": "eslint 'src/**/*.js'",
"prettier": "prettier 'src/**/*.js' --write",
"storybook": "start-storybook -p 6006",
"storybook:instrumented": "INSTRUMENTED=true start-storybook -p 6006"
},
"lint-staged": {
"*.js": [
"prettier --write",
"eslint --fix",
"jest --bail --findRelatedTests"
]
},
"jest": {
"testEnvironmentOptions": {
"url": "http://www.motor-talk.de/"
},
"coverageDirectory": "./coverage/unit-tests"
},
"repository": {
"type": "git",
"url": "https://github.com/kijijica/react-advertising.git"
},
"license": "MIT",
"peerDependencies": {
"react": ">=16.3.0"
},
"devDependencies": {
"@babel/cli": "^7.13.14",
"@babel/core": "^7.13.14",
"@babel/plugin-proposal-object-rest-spread": "^7.13.8",
"@babel/plugin-proposal-private-property-in-object": "^7.14.0",
"@babel/plugin-transform-modules-commonjs": "^7.13.8",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"@babel/preset-react": "^7.13.13",
"@cypress/code-coverage": "^3.9.5",
"@semantic-release/changelog": "^6.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.7",
"@storybook/addon-actions": "^6.2.9",
"@storybook/addon-essentials": "^6.2.9",
"@storybook/addon-links": "^6.2.9",
"@storybook/react": "^6.2.9",
"@testing-library/react": "^11.2.6",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"babel-loader": "^8.2.2",
"babel-plugin-istanbul": "^6.0.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"check-prop-types": "^1.1.2",
"cross-env": "^7.0.3",
"cypress": "7.3.0",
"eslint": "^7.23.0",
"eslint-config-motor-talk": "^5.0.1",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-cypress": "^2.11.3",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.23.1",
"html-webpack-plugin": "^5.3.1",
"husky": "^6.0.0",
"istanbul-lib-coverage": "^3.0.0",
"istanbul-lib-report": "^3.0.0",
"istanbul-reports": "^3.0.2",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^3.0.2",
"webpack": "^5.28.0",
"webpack-cli": "^4.6.0"
},
"dependencies": {
"@babel/runtime": "^7.13.10",
"fast-deep-equal": "^3.1.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}