forked from Yoast/javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.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
{
"name": "@yoast/social-metadata-previews",
"version": "1.17.0",
"main": "src/index.js",
"repository": {
"type": "git",
"url": "https://github.com/Yoast/javascript.git",
"directory": "packages/social-metadata-previews"
},
"author": "Team Yoast",
"license": "GPL-3.0",
"private": false,
"scripts": {
"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",
"test": "jest",
"lint": "eslint ."
},
"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>/jest/setupTests.js",
"moduleNameMapper": {
"\\.css$": "<rootDir>/jest/__mocks__/styleMock.js"
}
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@wordpress/i18n": "^1.1.0",
"@yoast/replacement-variable-editor": "^1.17.0",
"@yoast/social-metadata-forms": "^1.17.0",
"@yoast/style-guide": "^0.13.0",
"lodash": "^4.17.11",
"prop-types": "^15.6.0",
"redux": "^3.7.2",
"styled-components": "^4.2.0"
},
"devDependencies": {
"@yoast/browserslist-config": "^1.2.1",
"browserslist": "^4.7.3",
"jest": "^22.4.3",
"jest-styled-components": "^6.3.1"
},
"peerDependencies": {
"react": "^16.12.0"
}
}