This repository was archived by the owner on Oct 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.77 KB
/
package.json
File metadata and controls
65 lines (65 loc) · 1.77 KB
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
{
"name": "@yoast/components",
"version": "2.19.0",
"description": "Yoast Components",
"main": "src/index.js",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/Yoast/javascript.git",
"directory": "packages/components"
},
"author": "Yoast",
"license": "GPL-3.0",
"scripts": {
"test": "jest",
"lint": "eslint . --max-warnings=96",
"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"
},
"jest": {
"testRegex": ".*Test.js$",
"testURL": "http://localhost",
"transform": {
"^.+\\.jsx?$": "babel-jest"
},
"transformIgnorePatterns": [
"/node_modules/(?!yoastseo|lodash-es).+\\.js$"
],
"setupTestFrameworkScriptFile": "<rootDir>/jest/setupTests.js",
"moduleNameMapper": {
"\\.css$": "<rootDir>/jest/CSSStub.js"
}
},
"dependencies": {
"@wordpress/a11y": "^1.1.3",
"@wordpress/i18n": "^1.2.3",
"@yoast/helpers": "^0.16.0",
"@yoast/style-guide": "^0.13.0",
"interpolate-components": "^1.1.1",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react-modal": "^3.8.1",
"react-select": "^3.1.0",
"react-tabs": "^2.3.0",
"styled-components": "^4.2.0"
},
"devDependencies": {
"@yoast/browserslist-config": "^1.2.2",
"browserslist": "^4.7.3",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "^3.3.3",
"grunt": "^1.0.3",
"jest": "^22.4.3",
"jest-styled-components": "^5.0.1",
"raf": "^3.4.0",
"react-test-renderer": "^16.8.4"
},
"peerDependencies": {
"react": "^16.12.0",
"react-dom": "^16.12.0"
},
"publishConfig": {
"access": "public"
}
}