103 lines
4 KiB
JSON
103 lines
4 KiB
JSON
{
|
|
"private": true,
|
|
"name": "@lion/root",
|
|
"license": "MIT",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"build:docs": "wca analyze \"packages/tabs/**/*.js\"",
|
|
"build:types": "tsc -p tsconfig.build.types.json",
|
|
"bundlesize": "rollup -c bundlesize/rollup.config.js && bundlesize",
|
|
"debug": "web-test-runner \"packages/dialog/test/**/*.test.js\" --watch",
|
|
"dev-server": "es-dev-server",
|
|
"format": "npm run format:eslint && npm run format:prettier",
|
|
"format:eslint": "eslint --ext .js,.html . --fix",
|
|
"format:prettier": "prettier \"**/*.{js,md}\" --write",
|
|
"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 '{.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",
|
|
"release": "npm run build:types && npm run build:docs && changeset publish",
|
|
"start": "npm run storybook",
|
|
"storybook": "start-storybook -p 9001",
|
|
"storybook:build": "build-storybook",
|
|
"storybook:build:start": "es-dev-server --root-dir storybook-static --open",
|
|
"test": "run-p test:browser test:node",
|
|
"test:browser": "web-test-runner \"packages/**/*/test/**/*.test.js\" --coverage",
|
|
"test:browser:all": "web-test-runner \"packages/**/*/test/**/*.test.js\" --playwright --browsers webkit chromium firefox --coverage",
|
|
"test:browser:watch": "web-test-runner \"packages/**/*/test/**/*.test.js\" --watch",
|
|
"test:browserstack": "web-test-runner --config ./web-test-runner-browserstack.config.js \"packages/form-core/test/**/*.test.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"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/cli": "^2.9.2",
|
|
"@commitlint/cli": "^7.0.0",
|
|
"@commitlint/config-conventional": "^7.0.0",
|
|
"@mdjs/core": "^0.3.1",
|
|
"@open-wc/building-rollup": "^1.2.1",
|
|
"@open-wc/demoing-storybook": "^2.0.2",
|
|
"@open-wc/eslint-config": "^1.0.0",
|
|
"@open-wc/testing": "^2.5.18",
|
|
"@open-wc/testing-helpers": "^1.0.0",
|
|
"@storybook/addon-a11y": "~5.0.0",
|
|
"@types/chai-dom": "^0.0.8",
|
|
"@web/dev-server-legacy": "^0.1.1",
|
|
"@web/test-runner": "^0.7.3",
|
|
"@web/test-runner-browserstack": "^0.1.1",
|
|
"@web/test-runner-playwright": "^0.5.1",
|
|
"@web/test-runner-puppeteer": "^0.6.1",
|
|
"@webcomponents/webcomponentsjs": "^2.4.4",
|
|
"babel-eslint": "^8.2.6",
|
|
"babel-polyfill": "^6.26.0",
|
|
"bundlesize": "^0.17.1",
|
|
"chai": "^4.2.0",
|
|
"chalk": "^4.1.0",
|
|
"concurrently": "^5.2.0",
|
|
"cross-env": "^7.0.2",
|
|
"eclint": "^2.8.1",
|
|
"es-dev-server": "^1.57.1",
|
|
"es6-promisify": "^6.1.1",
|
|
"eslint": "^6.1.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"husky": "^1.0.0",
|
|
"lint-staged": "^10.0.0",
|
|
"looks-same": "^7.2.3",
|
|
"markdownlint-cli": "^0.17.0",
|
|
"minimist": "^1.2.5",
|
|
"mkdirp-promise": "^5.0.1",
|
|
"mocha": "^7.1.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"playwright": "^1.2.1",
|
|
"prettier": "^2.0.5",
|
|
"prettier-package-json": "^2.1.3",
|
|
"rimraf": "^2.6.3",
|
|
"rollup": "^2.0.0",
|
|
"sinon": "^7.2.2",
|
|
"typescript": "^3.8.3",
|
|
"web-component-analyzer": "^1.0.3",
|
|
"webpack-merge": "^4.1.5",
|
|
"whatwg-fetch": "^3.0.0"
|
|
},
|
|
"bundlesize": [
|
|
{
|
|
"path": "./bundlesize/dist/core/*.js",
|
|
"maxSize": "11 kB"
|
|
},
|
|
{
|
|
"path": "./bundlesize/dist/all/*.js",
|
|
"maxSize": "45 kB"
|
|
}
|
|
],
|
|
"prettier": {
|
|
"printWidth": 100,
|
|
"singleQuote": true,
|
|
"arrowParens": "avoid",
|
|
"trailingComma": "all"
|
|
}
|
|
}
|