mirror of
https://github.com/modernweb-dev/rocket.git
synced 2026-03-10 08:51:24 +00:00
76 lines
1.9 KiB
JSON
76 lines
1.9 KiB
JSON
{
|
|
"name": "@rocket/search",
|
|
"version": "0.7.0",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"description": "Search Preset for Rocket",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/modernweb-dev/rocket.git",
|
|
"directory": "packages/search"
|
|
},
|
|
"author": "Modern Web <hello@modern-web.dev> (https://modern-web.dev/)",
|
|
"homepage": "https://rocket.modern-web.dev/docs/presets/search/",
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./exports/index.js",
|
|
"./define": "./src/define.js",
|
|
"./*": {
|
|
"types": "./dist-types/exports/*",
|
|
"default": "./exports/*"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"analyze": "cem analyze --litelement",
|
|
"debug": "cd ../../ && npm run debug -- --group search",
|
|
"prepublishOnly": "npm run types",
|
|
"test": "npm run test:node && npm run test:web",
|
|
"test:node": "mocha --require ../../scripts/testMochaGlobalHooks.js test-node/**/*.test.js test-node/*.test.js",
|
|
"test:watch": "onchange 'src/**/*.{js,cjs}' 'test-node/**/*.js' -- npm run test:node",
|
|
"test:web": "cd ../../ && npm run test:web -- --group search",
|
|
"types": "wireit"
|
|
},
|
|
"files": [
|
|
"*.js",
|
|
"assets",
|
|
"dist",
|
|
"dist-types",
|
|
"exports",
|
|
"src"
|
|
],
|
|
"keywords": [
|
|
"rocket",
|
|
"search"
|
|
],
|
|
"dependencies": {
|
|
"@rocket/engine": "^0.2.0",
|
|
"minisearch": "^3.0.2",
|
|
"plugins-manager": "^0.3.0",
|
|
"sax-wasm": "^2.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@rocket/cli": "^0.21.0"
|
|
},
|
|
"customElements": "custom-elements.json",
|
|
"wireit": {
|
|
"types": {
|
|
"command": "copyfiles \"./types/**/*.d.ts\" dist-types/ && tsc --build --pretty",
|
|
"dependencies": [
|
|
"../engine:types",
|
|
"../plugins-manager:types"
|
|
],
|
|
"clean": "if-file-deleted",
|
|
"files": [
|
|
"src/**/*.js",
|
|
"tsconfig.json"
|
|
],
|
|
"output": [
|
|
"dist-types/**",
|
|
".tsbuildinfo"
|
|
]
|
|
}
|
|
}
|
|
}
|