This repository has been archived by the owner on Oct 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
/
package.json
60 lines (60 loc) · 1.62 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
{
"name": "@yoast/analysis-report",
"version": "1.21.0",
"main": "src/index.js",
"repository": {
"type": "git",
"url": "https://github.com/yoast/javascript",
"directory": "packages/analysis-report"
},
"scripts": {
"test": "jest",
"lint": "eslint . --max-warnings=5",
"prepublishOnly": "rm -rf dist && cp -R src dist && cp package.json dist/package.json && json -I -f dist/package.json -e \"this.main='index.js'\" && cp .babelrc dist/.babelrc"
},
"author": "Team Yoast",
"license": "GPL-3.0",
"private": false,
"dependencies": {
"@wordpress/i18n": "^1.1.0",
"@yoast/components": "^2.19.0",
"@yoast/helpers": "^0.16.0",
"@yoast/style-guide": "^0.13.0",
"lodash": "^4.17.11",
"prop-types": "^15.6.0",
"styled-components": "^4.2.0"
},
"devDependencies": {
"@yoast/browserslist-config": "^1.2.2",
"browserslist": "^4.7.3",
"jest": "^22.4.3",
"jest-cli": "^22.4.3",
"jest-runtime": "^22.4.3",
"jest-styled-components": "^6.3.1",
"react-test-renderer": "^16.2.0"
},
"peerDependencies": {
"react": "^16.12.0",
"react-dom": "^16.12.0"
},
"jest": {
"testURL": "http://localhost",
"testRegex": ".*Test.js$",
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"transform": {
"^.+\\.jsx?$": "babel-jest"
},
"transformIgnorePatterns": [
"/node_modules/(?!yoastseo|lodash-es).+\\.js$"
],
"setupTestFrameworkScriptFile": "<rootDir>/tools/jest/setupTests.js",
"moduleNameMapper": {
"\\.css$": "<rootDir>/tools/jest/CSSStub.js"
}
},
"publishConfig": {
"access": "public"
}
}