118 lines
4.4 KiB
JSON
118 lines
4.4 KiB
JSON
{
|
|
"private": true,
|
|
"name": "@lion/root",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"build": "rocket build",
|
|
"build:types": "tsc -p tsconfig.build.types.json",
|
|
"bundlesize": "rollup -c bundlesize/rollup.config.js && bundlesize",
|
|
"custom-elements-manifest": "node scripts/workspaces-scripts.mjs run custom-elements-manifest",
|
|
"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": "npm run custom-elements-manifest",
|
|
"lint": "run-p lint:*",
|
|
"lint:eclint": "git ls-files | xargs eclint check",
|
|
"lint:eslint": "eslint --ext .js,.html .",
|
|
"lint:markdownlint": "git ls-files '*.md' | xargs markdownlint --ignore '{.github/**/*.md,.changeset/*.md,**/CHANGELOG.md}'",
|
|
"lint:prettier": "prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)",
|
|
"lint:types": "tsc",
|
|
"lint:versions": "node ./scripts/lint-versions.js",
|
|
"prepare": "husky install",
|
|
"release": "npm run build:types && 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": "node scripts/workspaces-scripts.mjs run test:node",
|
|
"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"
|
|
},
|
|
"workspaces": [
|
|
"packages/*",
|
|
"packages-node/*"
|
|
],
|
|
"devDependencies": {
|
|
"@babel/core": "^7.10.1",
|
|
"@bundled-es-modules/fetch-mock": "^6.5.2",
|
|
"@changesets/cli": "^2.9.2",
|
|
"@custom-elements-manifest/analyzer": "^0.1.8",
|
|
"@open-wc/building-rollup": "^1.2.1",
|
|
"@open-wc/eslint-config": "^4.2.0",
|
|
"@open-wc/testing": "^3.0.0-next.1",
|
|
"@open-wc/testing-helpers": "^2.0.0-next.0",
|
|
"@rocket/blog": "^0.3.0",
|
|
"@rocket/cli": "^0.9.4",
|
|
"@rocket/launch": "^0.5.1",
|
|
"@rocket/search": "^0.4.0",
|
|
"@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/prettier": "^2.2.1",
|
|
"@web/dev-server": "^0.1.8",
|
|
"@web/dev-server-legacy": "^0.1.7",
|
|
"@web/test-runner": "^0.13.4",
|
|
"@web/test-runner-browserstack": "^0.4.2",
|
|
"@web/test-runner-commands": "^0.4.5",
|
|
"@web/test-runner-playwright": "^0.8.6",
|
|
"babel-polyfill": "^6.26.0",
|
|
"bundlesize": "^1.0.0-beta.2",
|
|
"chai": "^4.2.0",
|
|
"chalk": "^4.1.0",
|
|
"concurrently": "^5.2.0",
|
|
"cross-env": "^7.0.2",
|
|
"eclint": "^2.1.0",
|
|
"es6-promisify": "^6.1.1",
|
|
"eslint": "^7.20.0",
|
|
"eslint-config-prettier": "^8.0.0",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"eslint-plugin-lit": "^1.3.0",
|
|
"eslint-plugin-lit-a11y": "^1.0.1",
|
|
"eslint-plugin-wc": "^1.2.0",
|
|
"husky": "^6.0.0",
|
|
"lint-staged": "^10.0.0",
|
|
"looks-same": "^7.2.3",
|
|
"markdownlint-cli": "^0.17.0",
|
|
"mermaid": "^8.2.6",
|
|
"minimist": "^1.2.5",
|
|
"mkdirp-promise": "^5.0.1",
|
|
"mocha": "^7.1.1",
|
|
"mock-fs": "^4.10.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"nyc": "^15.0.0",
|
|
"playwright": "^1.7.1",
|
|
"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",
|
|
"sinon": "^7.2.2",
|
|
"ssl-root-cas": "^1.3.1",
|
|
"typescript": "3.9.7",
|
|
"whatwg-fetch": "^3.0.0"
|
|
},
|
|
"bundlesize": [
|
|
{
|
|
"path": "./bundlesize/dist/core/*.js",
|
|
"maxSize": "11 kB"
|
|
},
|
|
{
|
|
"path": "./bundlesize/dist/all/*.js",
|
|
"maxSize": "46 kB"
|
|
}
|
|
],
|
|
"prettier": {
|
|
"printWidth": 100,
|
|
"singleQuote": true,
|
|
"arrowParens": "avoid",
|
|
"trailingComma": "all"
|
|
}
|
|
}
|