1 | {
|
2 | "name": "countdown-pro",
|
3 | "version": "2.0.1",
|
4 | "description": "A simple countdown.",
|
5 | "main": "dist/countdown.cjs.js",
|
6 | "module": "dist/countdown.esm.js",
|
7 | "unpkg": "dist/countdown.umd.min.js",
|
8 | "types": "types/countdown.d.ts",
|
9 | "files": [
|
10 | "dist",
|
11 | "types"
|
12 | ],
|
13 | "scripts": {
|
14 | "test": "jest --verbose",
|
15 | "build": "rm -rf dist && rollup -c && npm run build:types",
|
16 | "build:types": "rm -rf types && tsc -p tsconfig.types.json",
|
17 | "lint": "eslint --ext .js,.jsx,.ts,.tsx src",
|
18 | "lint-fix": "npm run lint -- --fix",
|
19 | "prettier": "prettier --write **/*",
|
20 | "commit": "cz",
|
21 | "prepublishOnly": "npm test && npm run build",
|
22 | "tsc": "tsc --noEmit"
|
23 | },
|
24 | "lint-staged": {
|
25 | "**/*.{js,jsx,ts,tsx}": "eslint",
|
26 | "**/*.{css,scss,less,js,jsx,ts,tsx,json,md}": "prettier -w"
|
27 | },
|
28 | "config": {
|
29 | "commitizen": {
|
30 | "path": "./node_modules/cz-conventional-changelog"
|
31 | }
|
32 | },
|
33 | "gitHooks": {
|
34 | "pre-commit": "lint-staged",
|
35 | "commit-msg": "npx --no -- commitlint --edit \"$1\""
|
36 | },
|
37 | "repository": {
|
38 | "type": "git",
|
39 | "url": "git+https://github.com/caijf/countdown.git"
|
40 | },
|
41 | "keywords": [
|
42 | "countdown"
|
43 | ],
|
44 | "author": "caijf",
|
45 | "license": "MIT",
|
46 | "bugs": {
|
47 | "url": "https://github.com/caijf/countdown/issues"
|
48 | },
|
49 | "homepage": "https://github.com/caijf/countdown#readme",
|
50 | "devDependencies": {
|
51 | "@babel/core": "^7.19.0",
|
52 | "@babel/preset-env": "^7.19.0",
|
53 | "@babel/preset-typescript": "^7.18.6",
|
54 | "@commitlint/cli": "^17.1.2",
|
55 | "@commitlint/config-conventional": "^17.1.0",
|
56 | "@rollup/plugin-babel": "^5.3.1",
|
57 | "@rollup/plugin-commonjs": "^22.0.2",
|
58 | "@rollup/plugin-node-resolve": "^14.0.1",
|
59 | "@rollup/plugin-typescript": "^8.5.0",
|
60 | "@types/jest": "^29.0.0",
|
61 | "@typescript-eslint/eslint-plugin": "^5.36.2",
|
62 | "@typescript-eslint/parser": "^5.36.2",
|
63 | "babel-jest": "^29.0.2",
|
64 | "cz-conventional-changelog": "^3.3.0",
|
65 | "eslint": "^8.23.0",
|
66 | "jest": "^29.0.2",
|
67 | "lint-staged": "^13.0.3",
|
68 | "prettier": "^2.7.1",
|
69 | "rollup": "^2.79.0",
|
70 | "rollup-plugin-terser": "^7.0.2",
|
71 | "tslib": "^2.4.0",
|
72 | "typescript": "^4.8.3",
|
73 | "yorkie": "^2.0.0"
|
74 | }
|
75 | }
|