UNPKG

web-component-analyzer

Version:
102 lines (101 loc) 2.59 kB
{ "name": "web-component-analyzer", "version": "2.0.0", "description": "CLI that analyzes web components", "main": "lib/cjs/api.js", "module": "lib/esm/api.js", "typings": "lib/cjs/api.d.ts", "files": [ "/lib/", "cli.js" ], "exports": { "import": "./lib/esm/api.js", "require": "./lib/cjs/api.js" }, "scripts": { "clean": "rimraf lib", "prepare": "npm run build && husky install", "build": "npm run clean & rollup -c", "watch": "rollup -c --watch", "pretest": "cd dev && npm i", "test": "cross-env TS_MODULE=current ava", "test:all": "ava", "lint": "eslint . --ext ts --ext js", "test:update": "ava --update-snapshots", "test:watch": "ava --watch", "prettier:check": "prettier --check \"src/**/*.{ts,tsx}\"", "prettier:write": "prettier --write \"src/**/*.{ts,tsx}\"" }, "repository": { "type": "git", "url": "git+https://github.com/runem/web-component-analyzer.git" }, "keywords": [ "web components", "web", "components" ], "contributors": [ { "name": "Rune Mehlsen", "url": "https://github.com/runem", "img": "https://avatars0.githubusercontent.com/u/5372940?s=400&u=43d97899257af3c47715679512919eadb07eab26&v=4" } ], "author": "Rune Mehlsen", "license": "MIT", "bugs": { "url": "https://github.com/runem/web-component-analyzer/issues" }, "homepage": "https://github.com/runem/web-component-analyzer#readme", "dependencies": { "fast-glob": "^3.2.2", "ts-simple-type": "2.0.0-next.0", "typescript": "~5.2.0", "yargs": "^17.7.2" }, "devDependencies": { "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-replace": "^5.0.3", "@rollup/plugin-typescript": "^11.1.5", "@types/node": "^18.0.13", "@types/yargs": "^17.0.28", "@typescript-eslint/eslint-plugin": "^6.7.5", "@typescript-eslint/parser": "^6.7.5", "ava": "^3.15.0", "cross-env": "^7.0.2", "eslint": "^8.51.0", "eslint-config-prettier": "^9.0.0", "husky": "^8.0.0", "lint-staged": "^14.0.1", "prettier": "^3.0.3", "rimraf": "^3.0.2", "rollup": "^4.0.2", "rollup-plugin-copy": "^3.5.0", "ts-node": "^10.9.1", "tslib": "^2.6.2", "typescript-4.8": "npm:typescript@~4.8.0", "typescript-4.9": "npm:typescript@~4.9.0", "typescript-5.0": "npm:typescript@~5.0.0", "typescript-5.1": "npm:typescript@~5.1.0" }, "ava": { "snapshotDir": "test/snapshots/results", "extensions": [ "ts" ], "require": [ "ts-node/register" ], "files": [ "test/**/*.ts", "!test/{helpers,snapshots}/**/*" ], "timeout": "2m" }, "bin": { "wca": "cli.js", "web-component-analyzer": "cli.js" } }