material-web/package.json
2021-09-20 19:24:07 -07:00

96 lines
4.5 KiB
JSON

{
"name": "material-components-web-components",
"private": true,
"description": "Material Components Web Components",
"license": "Apache-2.0",
"scripts": {
"clean": "del-cli packages/*/node_modules packages/*/package-lock.json && npm run clean:typescript && npm run clean:styles && npm run clean:scripts",
"clean:typescript": "npm run build:typescript -- --clean",
"clean:styles": "del-cli packages/*/*.css.ts",
"clean:scripts": "del-cli scripts/tsc-out",
"dev": "es-dev-server --node-resolve --preserve-symlinks",
"format": "clang-format --version; find . -name '*.ts' | grep -v node_modules | grep -v .d.ts | grep -v -- -css.ts | xargs clang-format -style=file -i",
"format:check": "npm run format && git diff --exit-code || (echo '\\033[31mERROR:\\033[0m Project is not formatted. Please run \"npm run format\".' && false)",
"lint:imports": "node scripts/check-imports.js",
"lint": "npm run lint:lit",
"lint:fix": "npm run lint:typescript -- --fix && npm run lint:lit -- --fix",
"lint:typescript": "eslint \"packages/**/*.ts\"",
"lint:lit": "lit-analyzer \"packages/**/*.ts\" --strict",
"test": "npm run build:tests && karma start --single-run",
"test:debug": "npm run test -- --single-run false --browsers Chrome",
"test:bench": "npm run build:tests && node test/lib/test/src/benchmark/cli.js",
"postinstall": "npm run bootstrap",
"bootstrap": "./scripts/bootstrap.sh",
"build": "npm run build:styling && npm run build:typescript -- --verbose",
"build:styling": "lerna run --stream build:style",
"build:typescript": "tsc --build",
"build:tests": "tsc --build test/tsconfig.json && tsc --build test/tsconfig-node.json",
"build:scripts": "tsc --project scripts/tsconfig.json",
"build:demos": "rimraf dist && rollup -c",
"update-gh-pages": "npm install && ./scripts/publish-demos.sh",
"static-urlify-readme-images": "npm run build:scripts && node scripts/tsc-out/static-urlify-readme-images.js packages/*/README.md",
"bump-all-mdc-web-deps": "npm run build:scripts && node scripts/tsc-out/bump-all-mdc-web-deps.js packages/*/README.md",
"prepack": "npm run build && npm run static-urlify-readme-images",
"powerwash:ts": "rm packages/*/*.js & rm packages/*/*.js.map & rm packages/*/*.d.ts & rm packages/*/.tsbuildinfo",
"powerwash:styling": "rm packages/*/*-css.ts",
"powerwash:bench": "rm -rf test/lib & rm test/.tsbuildinfo*",
"powerwash": "npm run powerwash:ts & npm run powerwash:styling & npm run powerwash:bench && rm -rf node_modules",
"watch": "npm run build && node scripts/watcher.js",
"watch:tests": "tsc --build test/tsconfig.json -w & tsc --build test/tsconfig-node.json -w"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.9.6",
"@babel/polyfill": "^7.8.7",
"@babel/preset-env": "^7.9.6",
"@babel/runtime": "^7.9.6",
"@open-wc/karma-esm": "^2.11.1",
"@open-wc/rollup-plugin-html": "^1.0.2",
"@open-wc/rollup-plugin-polyfills-loader": "^1.0.3",
"@rollup/plugin-babel": "^5.0.0",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"@rollup/plugin-strip": "^1.3.2",
"@types/command-line-args": "^5.0.0",
"@types/command-line-usage": "^5.0.1",
"@types/jasmine": "^3.7.4",
"@typescript-eslint/eslint-plugin": "^2.3.2",
"@typescript-eslint/parser": "^2.3.2",
"@webcomponents/webcomponentsjs": "^2.6.0",
"clang-format": "^1.5.0",
"command-line-args": "^5.1.1",
"command-line-usage": "^5.0.5",
"del-cli": "^3.0.1",
"dom5": "^3.0.0",
"es-dev-server": "^1.27.1",
"eslint": "^5.16.0",
"eslint-config-google": "^0.13.0",
"eslint-plugin-jasmine": "^4.1.2",
"eslint-plugin-wc": "^1.2.0",
"glob": "^7.1.1",
"hanbi": "^0.4.0",
"html-minifier-terser": "^5.1.0",
"karma": "^4.0.1",
"karma-chrome-launcher": "^2.0.0",
"karma-firefox-launcher": "^1.0.0",
"karma-jasmine": "^4.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-sauce-launcher": "^2.0.2",
"karma-sourcemap-loader": "^0.3.7",
"lerna": "^3.13.1",
"lit-analyzer": "^1.2.1",
"node-sass-import": "^2.0.1",
"node-watch": "^0.6.0",
"parse5": "^5.1.0",
"requirejs": "^2.3.6",
"rimraf": "^3.0.2",
"rollup": "^2.7.3",
"rollup-plugin-copy": "^3.3.0",
"rollup-plugin-minify-html-literals": "^1.2.3",
"rollup-plugin-terser": "^5.3.0",
"sass": "~1.34.1",
"shady-css-parser": "^0.1.0",
"tachometer": "^0.4.13",
"typescript": "~4.3.5"
}
}