89 строки
3.1 KiB
JSON
89 строки
3.1 KiB
JSON
{
|
|
"name": "glean-dictionary",
|
|
"version": "0.1.0",
|
|
"engines": {
|
|
"node": ">=18.0.0",
|
|
"npm": ">=8.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "npm run build-glean && rollup --config",
|
|
"build-storybook": "cross-env NODE_OPTIONS=--openssl-legacy-provider storybook build --config-dir .storybook",
|
|
"build-glean": "cross-env VIRTUAL_ENV=venv glean translate src/telemetry/metrics.yaml src/telemetry/pings.yaml -f javascript -o src/telemetry/generated",
|
|
"dev": "npm run build-glean && rollup --config --watch",
|
|
"format": "prettier --plugin-search-dir=. --write .",
|
|
"format:check": "prettier --plugin-search-dir=. --check .",
|
|
"lint": "eslint .",
|
|
"lint-glean": "cross-env VIRTUAL_ENV=venv glean glinter src/telemetry/metrics.yaml src/telemetry/pings.yaml",
|
|
"start": "sirv public --watch --port 5555",
|
|
"storybook": "storybook dev -p 6006",
|
|
"test": "npm-run-all format:check lint lint-glean test:jest test:playwright",
|
|
"test:jest": "jest tests src --no-cache",
|
|
"test:playwright": "npx playwright test"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.24.4",
|
|
"@babel/plugin-transform-runtime": "7.24.3",
|
|
"@babel/preset-env": "^7.24.4",
|
|
"@mozilla-protocol/core": "^17.0.1",
|
|
"@mozilla/glean": "^5.0.0",
|
|
"@playwright/test": "^1.42.1",
|
|
"@rollup/plugin-commonjs": "25.0.7",
|
|
"@rollup/plugin-node-resolve": "15.2.3",
|
|
"@rollup/plugin-replace": "^5.0.5",
|
|
"@storybook/addon-controls": "8.0.8",
|
|
"@storybook/addon-docs": "8.0.8",
|
|
"@storybook/addon-storyshots": "7.6.17",
|
|
"@storybook/addon-storysource": "8.0.8",
|
|
"@storybook/cli": "8.0.8",
|
|
"@storybook/svelte": "7.6.12",
|
|
"@storybook/svelte-webpack5": "^7.6.13",
|
|
"@testing-library/svelte": "^4.1.0",
|
|
"autoprefixer": "^10.4.19",
|
|
"babel-jest": "^29.3.1",
|
|
"babel-loader": "8.2.5",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "8.57.0",
|
|
"eslint-config-airbnb-base": "15.0.0",
|
|
"eslint-config-prettier": "9.1.0",
|
|
"eslint-plugin-import": "2.29.1",
|
|
"eslint-plugin-jest": "27.9.0",
|
|
"eslint-plugin-prettier": "4.2.1",
|
|
"eslint-plugin-storybook": "^0.8.0",
|
|
"eslint-plugin-svelte3": "3.4.1",
|
|
"flexsearch": "^0.7.31",
|
|
"jest": "^29.7.0",
|
|
"lodash": "^4.17.21",
|
|
"marked": "^12.0.1",
|
|
"node-fetch": "^2.6.1",
|
|
"npm-run-all": "4.1.5",
|
|
"page": "1.11.6",
|
|
"postcss": "^8.4.38",
|
|
"postcss-import": "^16.1.0",
|
|
"postcss-load-config": "^4.0.2",
|
|
"prettier": "^2.8.7",
|
|
"prettier-plugin-svelte": "^2.7.0",
|
|
"query-string": "^7.1.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"rollup": "2.79.1",
|
|
"rollup-plugin-copy": "^3.4.0",
|
|
"rollup-plugin-css-only": "^4.5.2",
|
|
"rollup-plugin-livereload": "2.0.5",
|
|
"rollup-plugin-string": "^3.0.0",
|
|
"rollup-plugin-svelte": "7.2.0",
|
|
"rollup-plugin-terser": "7.0.2",
|
|
"sass": "^1.72.0",
|
|
"sass-loader": "^14.1.1",
|
|
"sirv-cli": "1.0.14",
|
|
"storybook": "^8.0.8",
|
|
"svelte": "3.59.1",
|
|
"svelte-jester": "^1.6.0",
|
|
"svelte-loader": "3.2.0",
|
|
"svelte-preprocess": "^5.1.1",
|
|
"tippy.js": "^6.3.7"
|
|
},
|
|
"overrides": {
|
|
"react-test-renderer": "18.2.0"
|
|
}
|
|
}
|