-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
108 lines (108 loc) · 3.05 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
{
"name": "@yext/search-core",
"version": "2.5.5",
"description": "Typescript Networking Library for the Yext Search API",
"main": "./dist/commonjs/src/index.js",
"module": "./dist/esm/src/index.js",
"types": "./dist/bundle.d.ts",
"sideEffects": false,
"keywords": [
"networking",
"search api",
"search",
"browser",
"nodejs",
"typescript",
"commonjs",
"es6",
"yext"
],
"files": [
"dist",
"legacy",
"lib",
"src",
"THIRD-PARTY-NOTICES"
],
"engines": {
"node": ">=12"
},
"scripts": {
"test": "npm run lint && jest",
"lint": "eslint . --max-warnings=0",
"tsc-cjs": "tsc -p tsconfig.cjs.json",
"tsc-esm": "tsc -p tsconfig.esm.json",
"tsc": "npm run tsc-cjs && npm run tsc-esm",
"build-legacy-bundle": "npx webpack",
"build": "rm -rf dist/** && npm run tsc && npm run build-legacy-bundle && npm run api-extractor && npm run generate-docs",
"build-ci": "npm run tsc-cjs && npm run api-extractor && npm run generate-docs",
"dev": "npm run tsc-esm -- --watch",
"prepublishOnly": "npm run build",
"api-extractor": "api-extractor run --local --verbose",
"generate-docs": "api-documenter markdown --input-folder temp --output-folder docs && rm -rf temp && npm run generate-notices",
"generate-notices": "generate-license-file --input package.json --output THIRD-PARTY-NOTICES --overwrite"
},
"repository": {
"type": "git",
"url": "https://github.com/yext/search-core.git"
},
"author": "[email protected]",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/yext/search-core/issues"
},
"homepage": "https://github.com/yext/search-core#readme",
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/plugin-transform-runtime": "^7.23.2",
"@babel/preset-env": "^7.23.2",
"@babel/preset-typescript": "^7.12.1",
"@microsoft/api-documenter": "^7.13.76",
"@microsoft/api-extractor": "^7.19.2",
"@types/jest": "^28.1.1",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"@yext/eslint-config-slapshot": "^0.4.0",
"@yext/eslint-plugin-export-star": "^1.0.2",
"babel-jest": "^28.1.0",
"babel-loader": "^8.3.0",
"eslint": "^8.11.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-tsdoc": "^0.2.14",
"generate-license-file": "^1.3.0",
"jest": "^28.1.0",
"jest-environment-jsdom": "^28.1.0",
"ts-loader": "^8.4.0",
"typescript": "^4.0.3",
"webpack": "^5.90.0",
"webpack-cli": "^4.4.0"
},
"dependencies": {
"@babel/runtime-corejs3": "^7.12.5",
"cross-fetch": "^3.1.5"
},
"jest": {
"bail": 0,
"collectCoverage": true,
"collectCoverageFrom": [
"src/**",
"!src/models/**/*.ts"
],
"verbose": true,
"moduleFileExtensions": [
"js",
"ts"
],
"moduleDirectories": [
"node_modules",
"<rootDir>"
],
"testEnvironment": "jsdom",
"testPathIgnorePatterns": [
"./tests/mocks/*"
],
"testMatch": [
"<rootDir>/tests/**/*.[jt]s"
]
}
}