material-web/package.json
2019-08-23 17:22:58 -07:00

103 lines
3.7 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/*/src/*-css.ts",
"clean:scripts": "del-cli scripts/tsc-out",
"dev": "polyserve --npm --module-resolution=node",
"format": "clang-format --version; find . -name '*.ts' | grep -v node_modules | xargs clang-format -style=file -i",
"lint:imports": "node scripts/check-imports.js",
"lint": "npm run lint:typescript && npm run lint:lit",
"lint:typescript": "eslint \"packages/**/*.ts\"",
"lint:lit": "lit-analyzer \"packages/**/*.ts\" --strict --quiet",
"test": "karma start --single-run",
"test:bench": "node test/lib/benchmark/cli.js",
"postinstall": "./scripts/bootstrap.sh",
"build": "npm run build:styling && npm run build:typescript -- --verbose",
"build:styling": "./scripts/build-styling.sh",
"build:typescript": "tsc --build packages/**/tsconfig.json",
"build:tests": "tsc --build test/tsconfig.json && tsc --build test/tsconfig-node.json",
"build:scripts": "tsc --project scripts/tsconfig.json",
"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",
"prepack": "npm run build && npm run static-urlify-readme-images",
"watch": "npm run build && node scripts/watcher.js",
"watch:tests": "npm run build && tsc --build test/tsconfig.json -w & tsc --build test/tsconfig-node.json -w"
},
"devDependencies": {
"@types/chai": "^4.2.0",
"@types/command-line-args": "^5.0.0",
"@types/command-line-usage": "^5.0.1",
"@types/mocha": "^5.2.7",
"@typescript-eslint/eslint-plugin": "^1.12.0",
"@typescript-eslint/parser": "^1.12.0",
"@webcomponents/webcomponentsjs": "^2.2.8",
"babel-core": "^6.22.1",
"babel-plugin-transform-object-assign": "^6.8.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-es2015-rollup": "^3.0.0",
"babel-traverse": "^6.24.1",
"babylon": "^6.16.1",
"chai": "^4.2.0",
"clang-format": "^1.2.4",
"command-line-args": "^5.1.1",
"command-line-usage": "^5.0.5",
"del-cli": "^1.1.0",
"dom5": "^3.0.0",
"eslint": "^5.16.0",
"eslint-config-google": "^0.13.0",
"eslint-plugin-mocha": "^5.3.0",
"eslint-plugin-wc": "^1.2.0",
"glob": "^7.1.1",
"karma": "^4.0.1",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.0.0",
"karma-firefox-launcher": "^1.0.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"karma-rollup-preprocessor": "^6.1.2",
"karma-sauce-launcher": "^2.0.2",
"karma-sourcemap-loader": "^0.3.7",
"lerna": "^3.13.1",
"lit-analyzer": "^1.1.7",
"mocha": "^5.0.0",
"node-sass-import": "^2.0.1",
"node-watch": "^0.6.0",
"parse5": "^5.1.0",
"polyserve": "^0.27.15",
"rollup": "^0.58.2",
"rollup-plugin-babel": "^3.0.4",
"rollup-plugin-node-resolve": "^4.0.1",
"sass": "^1.17.4",
"shady-css-parser": "^0.1.0",
"sinon": "^7.3.1",
"tachometer": "^0.4.9",
"typescript": "^3.4.1"
},
"babel": {
"presets": [
[
"es2015",
{
"modules": false
}
]
],
"plugins": [
"transform-object-assign"
],
"env": {
"test": {
"presets": [
"es2015"
]
}
}
},
"dependencies": {}
}