136 lines
5.1 KiB
JSON
136 lines
5.1 KiB
JSON
{
|
|
"private": true,
|
|
"name": "@lion/root",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"build": "rocket build",
|
|
"bundlesize": "rollup -c bundlesize/rollup.config.js && bundlesize",
|
|
"changeset": "changeset",
|
|
"custom-elements-manifest": "npm run custom-elements-manifest --workspaces --if-present",
|
|
"debug": "web-test-runner --watch --config web-test-runner-chrome.config.mjs",
|
|
"debug:firefox": "web-test-runner --watch --config web-test-runner-firefox.config.mjs",
|
|
"debug:webkit": "web-test-runner --watch --config web-test-runner-webkit.config.mjs",
|
|
"format": "npm run format:eslint && npm run format:prettier",
|
|
"format:eslint": "eslint --ext .js,.html . --fix",
|
|
"format:prettier": "prettier \"**/*.{js,md}\" \"packages/*/package.json\" \"package.json\" --write",
|
|
"postinstall": "npx patch-package && npm run custom-elements-manifest",
|
|
"lint": "run-p lint:*",
|
|
"lint:eslint": "eslint --ext .js,.html .",
|
|
"lint:markdownlint": "git ls-files '*.md' | xargs markdownlint --ignore '{.github/**/*.md,.changeset/*.md,**/CHANGELOG.md,packages/ui/_legacy-changelogs/*.md}'",
|
|
"lint:prettier": "prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)",
|
|
"lint:types": "npm run types",
|
|
"lint:versions": "node ./scripts/lint-versions.js",
|
|
"prepare": "husky install",
|
|
"release": "changeset publish",
|
|
"rocket:build": "rocket build",
|
|
"rocket:build:start": "web-dev-server --root-dir _site --open",
|
|
"start": "rocket start",
|
|
"test": "run-p test:browser test:node",
|
|
"test:browser": "web-test-runner --coverage",
|
|
"test:browserstack": "web-test-runner --config ./web-test-runner-browserstack.config.js",
|
|
"test:node": "npm run test:node --workspaces --if-present",
|
|
"test:screenshots": "rimraf screenshots/.diff/ && rimraf screenshots/.current/ && mocha --require scripts/screenshots/bootstrap.js --exit --timeout 10000 \"packages/**/test/*.screenshots-test.js\"",
|
|
"test:screenshots:update": "cross-env UPDATE_SCREENSHOTS=true npm run test:screenshots",
|
|
"types": "npm run types --workspaces --if-present",
|
|
"types-check-only": "npm run types-check-only --workspaces --if-present"
|
|
},
|
|
"workspaces": [
|
|
"packages/*",
|
|
"packages-node/*"
|
|
],
|
|
"dependencies": {
|
|
"changeset": "^0.2.6"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.10.1",
|
|
"@bundled-es-modules/fetch-mock": "^6.5.2",
|
|
"@changesets/cli": "^2.26.1",
|
|
"@custom-elements-manifest/analyzer": "^0.5.7",
|
|
"@open-wc/building-rollup": "^1.2.1",
|
|
"@open-wc/eslint-config": "^7.0.0",
|
|
"@open-wc/testing": "^3.1.2",
|
|
"@open-wc/testing-helpers": "^2.1.2",
|
|
"@rocket/blog": "^0.4.0",
|
|
"@rocket/cli": "^0.10.1",
|
|
"@rocket/launch": "^0.6.0",
|
|
"@rocket/search": "^0.5.1",
|
|
"@types/chai-dom": "^0.0.8",
|
|
"@types/convert-source-map": "^1.5.1",
|
|
"@types/fs-extra": "^9.0.7",
|
|
"@types/glob": "^7.1.3",
|
|
"@types/istanbul-reports": "^3.0.0",
|
|
"@types/mocha": "^10.0.0",
|
|
"@types/prettier": "^2.2.1",
|
|
"@web/dev-server": "^0.1.8",
|
|
"@web/dev-server-legacy": "^0.1.7",
|
|
"@web/test-runner": "^0.13.7",
|
|
"@web/test-runner-browserstack": "^0.5.0",
|
|
"@web/test-runner-commands": "^0.6.1",
|
|
"@web/test-runner-playwright": "^0.8.8",
|
|
"@webcomponents/scoped-custom-element-registry": "^0.0.5",
|
|
"@yarnpkg/lockfile": "^1.1.0",
|
|
"babel-polyfill": "^6.26.0",
|
|
"bundlesize": "^1.0.0-beta.2",
|
|
"cem-plugin-vs-code-custom-data-generator": "^1.4.1",
|
|
"chai": "^4.2.0",
|
|
"chalk": "^4.1.0",
|
|
"concurrently": "^5.2.0",
|
|
"cross-env": "^7.0.2",
|
|
"es6-promisify": "^6.1.1",
|
|
"eslint": "^8.26.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-lit": "^1.6.1",
|
|
"eslint-plugin-lit-a11y": "^2.2.0",
|
|
"eslint-plugin-wc": "^1.3.2",
|
|
"globby": "^13.1.2",
|
|
"husky": "^6.0.0",
|
|
"lint-staged": "^10.0.0",
|
|
"looks-same": "^7.2.3",
|
|
"markdownlint-cli": "^0.17.0",
|
|
"mermaid": "^9.3.0",
|
|
"minimist": "^1.2.6",
|
|
"mkdirp-promise": "^5.0.1",
|
|
"mocha": "^10.1.0",
|
|
"mock-fs": "^5.1.2",
|
|
"npm-run-all": "^4.1.5",
|
|
"nyc": "^15.0.0",
|
|
"playwright": "^1.20.0",
|
|
"postinstall-postinstall": "^2.1.0",
|
|
"prettier": "^2.0.5",
|
|
"prettier-package-json": "^2.1.3",
|
|
"remark-html": "^13.0.1",
|
|
"rimraf": "^2.6.3",
|
|
"rollup": "^2.0.0",
|
|
"semver": "^7.3.5",
|
|
"sinon": "^7.2.2",
|
|
"ssl-root-cas": "^1.3.1",
|
|
"typescript": "~4.8.4",
|
|
"whatwg-fetch": "^3.0.0",
|
|
"wireit": "^0.7.2"
|
|
},
|
|
"bundlesize": [
|
|
{
|
|
"path": "./bundlesize/dist/*/*.js",
|
|
"maxSize": "20 kB"
|
|
}
|
|
],
|
|
"comments": {
|
|
"overrides": {
|
|
"sharp": [
|
|
"Version of 'sharp' package we get via '@rocket/cli' is too old to be built on a Mac.",
|
|
"But updating package '@rocket-cli' causes our portal to break. Reason unknown.",
|
|
"So, we override the sharp version in here until '@rocket-cli' can be updated."
|
|
]
|
|
}
|
|
},
|
|
"overrides": {
|
|
"sharp": "^0.29.x"
|
|
},
|
|
"prettier": {
|
|
"printWidth": 100,
|
|
"singleQuote": true,
|
|
"arrowParens": "avoid",
|
|
"trailingComma": "all"
|
|
}
|
|
}
|