UNPKG

timered-counter

Version:

Make the value change more vivid and natural

166 lines (165 loc) 5.01 kB
{ "name": "timered-counter", "description": "Make the value change more vivid and natural", "license": "MIT", "version": "1.3.0", "type": "module", "main": "dist/src/index.js", "module": "dist/src/index.js", "unpkg": "dist/timered-counter.global.js", "jsdelivr": "dist/timered-counter.global.js", "exports": { ".": "./dist/src/index.js", "./vue": "./dist/src/wrappers/vue/index.js", "./vue/*": "./dist/src/wrappers/vue/*", "./*": "./dist/src/*" }, "files": [ "dist", "typings", "custom-elements.json" ], "types": "dist/src/index.d.ts", "keywords": [ "timered-counter", "counter", "timer", "countdown", "web-components", "lit" ], "repository": { "type": "git", "url": "https://github.com/siaikin/timered-counter.git" }, "author": { "name": "siaikin", "email": "abc1310054026@outlook.com" }, "bugs": { "url": "https://github.com/siaikin/timered-counter/issues" }, "homepage": "https://github.com/siaikin/timered-counter#readme", "scripts": { "analyze": "cem analyze --litelement", "start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"web-dev-server\"", "build": "npm run analyze -- --exclude dist && tsc && rollup -c", "prepublish": "npm run build", "lint": "eslint --ext .ts,.html . --ignore-path .gitignore && prettier \"**/*.ts\" --check --ignore-path .gitignore", "format": "eslint --ext .ts,.html . --fix --ignore-path .gitignore && prettier \"**/*.ts\" --write --ignore-path .gitignore", "prepare": "husky", "test": "tsc && wtr --coverage", "test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\"", "storybook": "tsc && npm run analyze -- --exclude dist && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"storybook dev -p 8080\"", "storybook:build": "tsc && npm run analyze -- --exclude dist && storybook build", "test-storybook": "test-storybook --verbose --maxWorkers=1 --coverage --url http://127.0.0.1:8080" }, "dependencies": { "@lit/context": "^1.1.3", "d3-array": "^3.2.4", "date-fns": "^4.1.0", "lit": "^3.1.4", "remeda": "^2.19.0", "tslib": "^2.8.1" }, "devDependencies": { "@chromatic-com/storybook": "^3.2.4", "@custom-elements-manifest/analyzer": "^0.10.3", "@faker-js/faker": "^9.5.0", "@open-wc/eslint-config": "^12.0.3", "@open-wc/testing": "^4.0.0", "@rollup/plugin-commonjs": "^28.0.3", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.2", "@semantic-release/git": "^10.0.1", "@storybook/addon-a11y": "^8.5.0", "@storybook/addon-coverage": "^1.0.5", "@storybook/addon-essentials": "^8.5.0", "@storybook/addon-interactions": "^8.5.0", "@storybook/addon-links": "^8.5.0", "@storybook/addon-webpack5-compiler-swc": "^2.0.0", "@storybook/test": "^8.5.0", "@storybook/test-runner": "^0.21.0", "@storybook/web-components": "^8.5.0", "@storybook/web-components-webpack5": "^8.5.0", "@types/d3": "^7.4.3", "@types/mocha": "^10.0.7", "@typescript-eslint/eslint-plugin": "^7.16.0", "@typescript-eslint/parser": "^7.16.0", "@web/dev-server": "^0.4.6", "@web/rollup-plugin-copy": "^0.5.1", "@web/storybook-builder": "^0.1.21", "@web/storybook-framework-web-components": "^0.1.2", "@web/test-runner": "^0.18.2", "concurrently": "^8.2.2", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "husky": "^9.0.11", "lint-staged": "^15.2.7", "prettier": "^3.3.2", "rollup": "^4.37.0", "rollup-plugin-summary": "^3.0.0", "rollup-plugin-visualizer": "^5.14.0", "storybook": "^8.5.0", "type-fest": "^4.32.0", "typescript": "^5.5.3" }, "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 } ], "no-undef": "off", "no-plusplus": "off", "no-param-reassign": "off", "max-classes-per-file": "off", "wc/guard-super-call": "off", "no-shadow": "off", "no-continue": "off", "@typescript-eslint/no-shadow": [ "error" ] } }, "prettier": { "singleQuote": true, "arrowParens": "avoid" }, "lint-staged": { "*.ts": [ "eslint --fix", "prettier --write" ] }, "optionalDependencies": { "decimal.js": "^10.4.3", "grapheme-splitter": "^1.0.4" }, "peerDependencies": { "vue": "^3.5.17" }, "peerDependenciesMeta": { "vue": { "optional": true } } }