forked from meilisearch/meilisearch-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
112 lines (112 loc) · 3.7 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
109
110
111
112
{
"name": "meilisearch",
"version": "0.28.0",
"description": "The Meilisearch JS client for Node.js and the browser.",
"keywords": [
"meilisearch",
"search",
"instant",
"relevant",
"client",
"wrapper",
"meili"
],
"author": "cvermand <[email protected]>",
"contributors": [
"qdequele <[email protected]>"
],
"license": "MIT",
"main": "./dist/bundles/meilisearch.cjs.js",
"module": "./dist/bundles/meilisearch.esm.js",
"browser": "./dist/bundles/meilisearch.umd.js",
"typings": "./dist/types/index.d.ts",
"types": "./dist/types/index.d.ts",
"jsdelivr": "./dist/bundles/meilisearch.umd.js",
"unpkg": "./dist/bundles/meilisearch.umd.js",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/meilisearch/meilisearch-js"
},
"scripts": {
"playground:javascript": "yarn --cwd ./playgrounds/javascript && yarn --cwd ./playgrounds/javascript start",
"clear_jest": "jest --clearCache",
"cleanup": "shx rm -rf dist/",
"build": "yarn cleanup && rollup -c && rollup -c --environment NODE_ENV:production",
"watch": "yarn cleanup && rollup -c --watch",
"postbuild": "yarn size && yarn typingsheader",
"test": "yarn clear_jest && jest --runInBand --verbose",
"types:watch": "nodemon --config nodemon.json",
"types": "yarn tsc",
"test:env:browser": "yarn --cwd tests/env/express && yarn --cwd tests/env/express test",
"test:watch": "yarn clear_jest && yarn test --watch",
"test:coverage": "yarn test --coverage",
"test:ci": "yarn test --ci",
"test:env": "yarn build && yarn test:env:nodejs && yarn test:env:esm && yarn test:env:node-ts",
"test:env:node-ts": "yarn --cwd tests/env/typescript-node start",
"test:env:nodejs": "node tests/env/node/index.js",
"test:env:esm": "yarn --cwd tests/env/esm && yarn --cwd tests/env/esm start",
"size": "node scripts/file-size ./dist/bundles/meilisearch.esm.min.js ./dist/bundles/meilisearch.umd.min.js",
"style": "yarn lint",
"style:fix": "yarn lint:fix",
"lint": "eslint --ext .js,.ts,.tsx .",
"lint:fix": "eslint --ext .js,.ts,.tsx --fix .",
"typingsheader": "node scripts/build.js"
},
"files": [
"src",
"dist",
"CONTRIBUTING.md"
],
"lint-staged": {
"**/*.{ts,tsx,js,jsx,css,scss,sass,less,md}": [
"prettier --write",
"git add"
],
"src/**/*.{ts,tsx}": [
"yarn lint:fix",
"git add"
]
},
"dependencies": {
"cross-fetch": "^3.1.5"
},
"devDependencies": {
"@babel/preset-env": "^7.19.3",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "22.0.2",
"@rollup/plugin-json": "^4.0.2",
"@rollup/plugin-node-resolve": "13.3.0",
"@types/jest": "^27.5.0",
"@types/prettier": "^2.2.3",
"@typescript-eslint/eslint-plugin": "2.34.0",
"@typescript-eslint/parser": "2.34.0",
"abort-controller": "^3.0.0",
"brotli-size": "^4.0.0",
"eslint": "^7.21.0",
"eslint-config-prettier": "^8.1.0",
"eslint-config-standard-with-typescript": "^17.0.0",
"eslint-plugin-import": "2",
"eslint-plugin-jest": "^24.1.8",
"eslint-plugin-jsdoc": "^32.2.0",
"eslint-plugin-node": "11",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-promise": "4",
"eslint-plugin-standard": "5",
"gzip-size": "^6.0.0",
"jest": "^26.6.3",
"jest-fetch-mock": "^3.0.3",
"jest-watch-typeahead": "^0.6.3",
"kleur": "^4.1.5",
"lint-staged": "11.1.2",
"nodemon": "^2.0.16",
"prettier": "^2.2.1",
"pretty-bytes": "^5.6.0",
"rollup": "^2.79.1",
"rollup-plugin-terser": "^7.0.0",
"rollup-plugin-typescript2": "^0.34.0",
"shx": "^0.3.2",
"ts-jest": "^26.5.6",
"typescript": "4.6.4"
}
}