2018-04-26 05:20:55 +03:00
|
|
|
{
|
|
|
|
"name": "material-components-web-components",
|
|
|
|
"private": true,
|
|
|
|
"description": "Material Components Web Components",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"scripts": {
|
2019-08-14 01:31:13 +03:00
|
|
|
"clean": "del-cli packages/*/node_modules packages/*/package-lock.json && npm run clean:typescript && npm run clean:styles && npm run clean:scripts",
|
2019-02-02 02:38:33 +03:00
|
|
|
"clean:typescript": "npm run build:typescript -- --clean",
|
|
|
|
"clean:styles": "del-cli packages/*/src/*-css.ts",
|
2019-08-14 01:31:13 +03:00
|
|
|
"clean:scripts": "del-cli scripts/tsc-out",
|
2018-04-26 05:20:55 +03:00
|
|
|
"dev": "polyserve --npm --module-resolution=node",
|
2019-07-31 22:26:47 +03:00
|
|
|
"format": "clang-format --version; find . -name '*.ts' | grep -v node_modules | xargs clang-format -style=file -i",
|
2018-04-26 05:20:55 +03:00
|
|
|
"lint:imports": "node scripts/check-imports.js",
|
2019-08-13 01:55:32 +03:00
|
|
|
"lint": "npm run lint:typescript && npm run lint:lit",
|
2019-05-08 23:23:02 +03:00
|
|
|
"lint:typescript": "eslint \"packages/**/*.ts\"",
|
2019-08-13 01:55:32 +03:00
|
|
|
"lint:lit": "lit-analyzer \"packages/**/*.ts\" --strict --quiet",
|
2019-08-21 23:34:23 +03:00
|
|
|
"test": "karma-proxy start --single-run",
|
2019-08-21 22:21:52 +03:00
|
|
|
"test:bench": "node test/lib/benchmark/cli.js",
|
2019-08-17 06:01:55 +03:00
|
|
|
"postinstall": "./scripts/bootstrap.sh",
|
2019-08-13 02:12:50 +03:00
|
|
|
"build": "npm run build:styling && npm run build:typescript -- --verbose",
|
2019-02-02 02:38:33 +03:00
|
|
|
"build:styling": "./scripts/build-styling.sh",
|
|
|
|
"build:typescript": "tsc --build packages/**/tsconfig.json",
|
2019-07-24 03:30:49 +03:00
|
|
|
"build:tests": "tsc --build test/tsconfig.json && tsc --build test/tsconfig-node.json",
|
2019-08-14 01:31:13 +03:00
|
|
|
"build:scripts": "tsc --project scripts/tsconfig.json",
|
2019-08-17 06:01:55 +03:00
|
|
|
"update-gh-pages": "npm install && ./scripts/publish-demos.sh",
|
2019-08-14 01:31:13 +03:00
|
|
|
"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",
|
2019-08-14 21:24:51 +03:00
|
|
|
"watch": "npm run build && node scripts/watcher.js",
|
2019-08-21 23:34:23 +03:00
|
|
|
"watch:tests": "tsc --build test/tsconfig.json -w & tsc --build test/tsconfig-node.json -w"
|
2018-04-26 05:20:55 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-08-21 05:48:54 +03:00
|
|
|
"@types/chai": "^4.2.0",
|
2019-07-24 03:30:49 +03:00
|
|
|
"@types/command-line-args": "^5.0.0",
|
|
|
|
"@types/command-line-usage": "^5.0.1",
|
2019-08-21 05:48:54 +03:00
|
|
|
"@types/mocha": "^5.2.7",
|
2019-07-14 23:30:26 +03:00
|
|
|
"@typescript-eslint/eslint-plugin": "^1.12.0",
|
|
|
|
"@typescript-eslint/parser": "^1.12.0",
|
2019-04-10 22:06:55 +03:00
|
|
|
"@webcomponents/webcomponentsjs": "^2.2.8",
|
2018-04-26 05:20:55 +03:00
|
|
|
"babel-core": "^6.22.1",
|
|
|
|
"babel-plugin-transform-object-assign": "^6.8.0",
|
|
|
|
"babel-preset-es2015": "^6.9.0",
|
2018-05-08 21:23:01 +03:00
|
|
|
"babel-preset-es2015-rollup": "^3.0.0",
|
2018-04-26 05:20:55 +03:00
|
|
|
"babel-traverse": "^6.24.1",
|
|
|
|
"babylon": "^6.16.1",
|
2018-10-03 03:44:04 +03:00
|
|
|
"chai": "^4.2.0",
|
2019-07-31 22:15:16 +03:00
|
|
|
"clang-format": "^1.2.4",
|
2019-04-05 01:36:55 +03:00
|
|
|
"command-line-args": "^5.1.1",
|
2018-09-20 03:35:42 +03:00
|
|
|
"command-line-usage": "^5.0.5",
|
2018-04-26 05:20:55 +03:00
|
|
|
"del-cli": "^1.1.0",
|
2018-05-08 21:23:01 +03:00
|
|
|
"dom5": "^3.0.0",
|
2019-05-08 23:23:02 +03:00
|
|
|
"eslint": "^5.16.0",
|
2019-07-14 23:30:26 +03:00
|
|
|
"eslint-config-google": "^0.13.0",
|
2019-05-08 23:23:02 +03:00
|
|
|
"eslint-plugin-mocha": "^5.3.0",
|
2019-08-01 00:34:45 +03:00
|
|
|
"eslint-plugin-wc": "^1.2.0",
|
2018-04-26 05:20:55 +03:00
|
|
|
"glob": "^7.1.1",
|
2019-04-05 01:36:55 +03:00
|
|
|
"karma": "^4.0.1",
|
2019-01-31 04:53:53 +03:00
|
|
|
"karma-chai": "^0.1.0",
|
2018-04-26 05:20:55 +03:00
|
|
|
"karma-chrome-launcher": "^2.0.0",
|
|
|
|
"karma-firefox-launcher": "^1.0.0",
|
|
|
|
"karma-mocha": "^1.3.0",
|
2019-02-02 03:25:28 +03:00
|
|
|
"karma-mocha-reporter": "^2.2.5",
|
2019-01-31 04:53:53 +03:00
|
|
|
"karma-rollup-preprocessor": "^6.1.2",
|
|
|
|
"karma-sauce-launcher": "^2.0.2",
|
2019-02-02 03:25:28 +03:00
|
|
|
"karma-sourcemap-loader": "^0.3.7",
|
2019-08-21 23:34:23 +03:00
|
|
|
"koa": "^2.8.1",
|
2019-08-22 03:51:20 +03:00
|
|
|
"koa-esm-transform": "^1.0.0-pre.1",
|
2019-08-21 23:34:23 +03:00
|
|
|
"koa-karma-proxy": "^1.0.0-pre.4",
|
|
|
|
"koa-mount": "^4.0.0",
|
|
|
|
"koa-node-resolve": "^1.0.0-pre.6",
|
2019-08-22 03:51:20 +03:00
|
|
|
"koa-static": "^5.0.0",
|
2019-04-05 01:36:55 +03:00
|
|
|
"lerna": "^3.13.1",
|
2019-08-13 01:55:32 +03:00
|
|
|
"lit-analyzer": "^1.1.7",
|
2018-04-26 05:20:55 +03:00
|
|
|
"mocha": "^5.0.0",
|
2018-09-20 03:35:42 +03:00
|
|
|
"node-sass-import": "^2.0.1",
|
2019-01-31 04:53:53 +03:00
|
|
|
"node-watch": "^0.6.0",
|
|
|
|
"parse5": "^5.1.0",
|
|
|
|
"polyserve": "^0.27.15",
|
2018-05-08 21:23:01 +03:00
|
|
|
"rollup": "^0.58.2",
|
|
|
|
"rollup-plugin-babel": "^3.0.4",
|
2019-04-05 01:36:55 +03:00
|
|
|
"rollup-plugin-node-resolve": "^4.0.1",
|
|
|
|
"sass": "^1.17.4",
|
2019-08-10 00:46:14 +03:00
|
|
|
"shady-css-parser": "^0.1.0",
|
2019-03-30 02:08:29 +03:00
|
|
|
"sinon": "^7.3.1",
|
2019-07-24 03:30:49 +03:00
|
|
|
"tachometer": "^0.4.9",
|
2019-04-05 01:36:55 +03:00
|
|
|
"typescript": "^3.4.1"
|
2018-04-26 05:20:55 +03:00
|
|
|
},
|
|
|
|
"babel": {
|
|
|
|
"presets": [
|
|
|
|
[
|
|
|
|
"es2015",
|
|
|
|
{
|
|
|
|
"modules": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"transform-object-assign"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"test": {
|
|
|
|
"presets": [
|
|
|
|
"es2015"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2018-10-08 21:15:38 +03:00
|
|
|
},
|
|
|
|
"dependencies": {}
|
2018-04-26 05:20:55 +03:00
|
|
|
}
|