2021-11-16 03:27:41 +00:00
|
|
|
{
|
2023-10-07 21:05:54 +00:00
|
|
|
"name": "pendor-clock",
|
|
|
|
"description": "Webcomponent pendor-clock following open-wc recommendations",
|
|
|
|
"license": "MIT",
|
|
|
|
"author": "pendor-clock",
|
|
|
|
"version": "0.0.0",
|
|
|
|
"type": "module",
|
|
|
|
"main": "dist/src/index.js",
|
|
|
|
"module": "dist/src/index.js",
|
|
|
|
"exports": {
|
|
|
|
".": "./dist/src/index.js",
|
|
|
|
"./pendor-clock.js": "./dist/src/pendor-clock.js"
|
|
|
|
},
|
2021-11-16 03:27:41 +00:00
|
|
|
"scripts": {
|
2023-10-07 21:05:54 +00:00
|
|
|
"analyze": "cem analyze --litelement",
|
|
|
|
"start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
|
|
|
|
"build": "tsc && npm run analyze -- --exclude dist",
|
|
|
|
"prepublish": "tsc && npm run analyze -- --exclude dist",
|
|
|
|
"bundle": "npm run build && rollup -c rollup.conf.js && rm -fr build-modern/node_modules",
|
|
|
|
"lint": "eslint --ext .ts,.html ./src --ignore-path .gitignore && prettier \"**/*.ts\" --config .prettierrc.json --check --ignore-path .gitignore",
|
|
|
|
"lint:hard": "eslint --ext .ts,.html --config ./.eslintrc.precommit.json ./src/ --ignore-path .gitignore && prettier --config .prettierrc.json \"**/*.ts\" --check --ignore-path .gitignore",
|
|
|
|
"format": "eslint --ext .ts,.html . --fix --ignore-path .gitignore && prettier \"**/*.ts\" --config .prettierrc.json --write --ignore-path .gitignore",
|
|
|
|
"lint:spelling": "codespell -D - ./src -s",
|
|
|
|
"storybook": "tsc && npm run analyze -- --exclude dist && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds -c .storybook/server.mjs\"",
|
|
|
|
"storybook:build": "tsc && npm run analyze -- --exclude dist && build-storybook"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"lit": "^2.0.2"
|
2021-11-16 03:27:41 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-10-07 21:05:54 +00:00
|
|
|
"@custom-elements-manifest/analyzer": "^0.4.17",
|
|
|
|
"@open-wc/eslint-config": "^9.2.1",
|
|
|
|
"@rollup/plugin-node-resolve": "^15.2.2",
|
|
|
|
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.48.0",
|
|
|
|
"@typescript-eslint/parser": "^5.48.0",
|
|
|
|
"@web/dev-server": "^0.1.34",
|
|
|
|
"@web/dev-server-storybook": "^0.5.4",
|
|
|
|
"concurrently": "^5.3.0",
|
|
|
|
"eslint": "^8.31.0",
|
2021-11-16 03:27:41 +00:00
|
|
|
"eslint-config-prettier": "^8.3.0",
|
2023-10-07 21:05:54 +00:00
|
|
|
"eslint-plugin-custom-elements": "^0.0.8",
|
|
|
|
"eslint-plugin-sonarjs": "^0.21.0",
|
|
|
|
"eslint-plugin-storybook": "^0.6.14",
|
|
|
|
"husky": "^4.3.8",
|
|
|
|
"lint-staged": "^10.5.4",
|
2021-11-16 03:27:41 +00:00
|
|
|
"prettier": "^2.4.1",
|
2023-10-07 21:05:54 +00:00
|
|
|
"rollup": "^2.79.1",
|
|
|
|
"rollup-plugin-copy": "^3.5.0",
|
|
|
|
"rollup-plugin-minify-html-literals": "^1.2.6",
|
|
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
|
|
"tslib": "^2.3.1",
|
|
|
|
"typescript": "^4.5.2"
|
|
|
|
},
|
|
|
|
"customElements": "custom-elements.json",
|
|
|
|
"eslintConfig": {
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"extends": [
|
|
|
|
"@open-wc",
|
|
|
|
"prettier"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"@typescript-eslint"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"no-unused-vars": "off",
|
|
|
|
"@typescript-eslint/no-unused-vars": [
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"import/no-unresolved": "off",
|
|
|
|
"import/extensions": [
|
|
|
|
"error",
|
|
|
|
"always",
|
|
|
|
{
|
|
|
|
"ignorePackages": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"prettier": {
|
|
|
|
"singleQuote": true,
|
|
|
|
"arrowParens": "avoid"
|
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.ts": [
|
|
|
|
"eslint --fix",
|
|
|
|
"prettier --write"
|
|
|
|
]
|
2021-11-16 03:27:41 +00:00
|
|
|
}
|
|
|
|
}
|