forked from Yoast/javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 1.91 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
{
"name": "@yoast/algolia-search-box",
"version": "1.4.0",
"description": "A packages that allows integration with Algolia Search",
"main": "src/index.js",
"repository": {
"type": "git",
"url": "https://github.com/Yoast/javascript.git",
"directory": "packages/algolia-search-box"
},
"author": "Yoast",
"license": "GPL-3.0",
"private": false,
"dependencies": {
"@wordpress/a11y": "^1.0.7",
"@wordpress/i18n": "^1.1.0",
"@yoast/components": "^0.5.0",
"@yoast/helpers": "^0.4.0-rc.2",
"@yoast/style-guide": "^0.4.0-rc.1",
"algoliasearch": "^3.22.3",
"lodash": "^4.17.4",
"prop-types": "^15.6.0",
"react": "16.6.3",
"styled-components": "^4.2.0"
},
"devDependencies": {
"babel-jest": "^23.6.0",
"babel-loader": "^7.1.1",
"babel-plugin-styled-components": "^1.10.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"enzyme-to-json": "^3.3.3",
"jest": "^23.6.0",
"jest-styled-components": "^6.3.1",
"react-test-renderer": "16.8.4"
},
"scripts": {
"test": "jest",
"lint": "eslint . --max-warnings=22",
"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": {
"testURL": "https://example.org",
"testRegex": ".*Test.js$",
"transform": {
"^.+\\.jsx?$": "babel-jest"
},
"unmockedModulePathPatterns": [
"react",
"enzyme",
"<rootDir>/node_modules/react",
"<rootDir>/node_modules/react-dom",
"<rootDir>/node_modules/enzyme"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"setupFilesAfterEnv": [
"<rootDir>/tools/jest/setupTests.js"
],
"transformIgnorePatterns": [
"/node_modules/(?!yoastseo|lodash-es).+\\.js$"
]
},
"publishConfig": {
"access": "public"
}
}