-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
62 lines (62 loc) · 3.2 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
{
"name": "infisearch",
"version": "0.0.0",
"description": "infisearch",
"main": "index.js",
"scripts": {
"setup": "npm install && lerna bootstrap",
"watchWorker": "webpack watch --config ./webpack.worker.js",
"watchPerfWorker": "webpack watch --config ./webpack.worker.js --env perf",
"serveE2E": "webpack serve --no-hot --no-live-reload --no-static-watch --config ./webpack.dev.js --env e2e",
"serve": "webpack serve --config ./webpack.dev.js",
"devDocs": "cd docs && mdbook serve -p 8000",
"devDocsHalf": "npm run installMdbook && npm run devDocs",
"devDocsFull": "npm run buildSearch && npm run installMdbook && npm run devDocs",
"buildDocs": "cd docs && mdbook build",
"buildSearch": "webpack --config ./webpack.worker.prod.js && webpack --config ./webpack.prod.js && npx cpy packages/search/worker-dist/*.wasm packages/search-ui/dist && rimraf ./packages/infisearch/search-ui-dist/*.js && rimraf ./packages/infisearch/search-ui-dist/*.css && rimraf ./packages/infisearch/search-ui-dist/*.wasm && cpy packages/search-ui/dist/* packages/infisearch/search-ui-dist && cargo clean --release -p infisearch && cargo clean --release -p mdbook-infisearch",
"index1": "cargo run -p infisearch -- ./test_files/1/source ./test_files/1/output --perf",
"index2": "cargo run -p infisearch -- ./test_files/2/source ./test_files/2/output --perf",
"index3": "cargo run -p infisearch -- ./test_files/3/source ./test_files/3/output --perf",
"index1R": "cargo run -p infisearch --release ./test_files/1/source ./test_files/1/output --perf",
"index2R": "cargo run -p infisearch --release ./test_files/2/source ./test_files/2/output --perf",
"index3R": "cargo run -p infisearch --release ./test_files/3/source ./test_files/3/output --perf",
"lint": "eslint packages/search-ui --ext .ts && eslint packages/search --ext .ts",
"lintFix": "eslint packages/search-ui --ext .ts --fix && eslint packages/search --ext .ts --fix",
"test": "cargo test && npm run e2e",
"e2e": "cargo clean -p infisearch && webpack --config ./webpack.worker.js && npm-run-all --race --parallel serveE2E e2etest",
"e2etest": "jest --runInBand",
"installMdbook": "cargo install --path packages/mdbook-infisearch"
},
"author": "",
"license": "MIT",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"@wasm-tool/wasm-pack-plugin": "^1.6.0",
"cpy-cli": "^4.2.0",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^4.1.0",
"eslint": "^8.24.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"html-loader": "^4.2.0",
"html-webpack-plugin": "^5.5.0",
"http-server": "^14.1.1",
"jest": "^29.1.1",
"jest-puppeteer": "^6.1.1",
"lerna": "^5.5.4",
"puppeteer": "^18.0.5",
"mini-css-extract-plugin": "^2.6.1",
"npm-run-all": "^4.1.5",
"remove-files-webpack-plugin": "^1.5.0",
"rimraf": "^3.0.2",
"style-loader": "^3.3.1",
"ts-loader": "^9.4.1",
"typescript": "^4.8.4",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.1",
"webpack-merge": "^5.8.0"
}
}