1 | {
|
2 | "name": "vue-timeago",
|
3 | "version": "5.1.3",
|
4 | "productName": "Vue Timeago",
|
5 | "description": "A timeago filter for Vue.",
|
6 | "license": "MIT",
|
7 | "repository": "egoist/vue-timeago",
|
8 | "author": {
|
9 | "name": "EGOIST",
|
10 | "email": "0x142857@gmail.com",
|
11 | "url": "https://github.com/egoist"
|
12 | },
|
13 | "scripts": {
|
14 | "test": "xo && npm run build",
|
15 | "build": "bili",
|
16 | "prepublishOnly": "npm run build",
|
17 | "example": "poi example/index.js -so"
|
18 | },
|
19 | "main": "dist/vue-timeago.cjs.js",
|
20 | "module": "dist/vue-timeago.es.js",
|
21 | "unpkg": "dist/vue-timeago.js",
|
22 | "jsdelivr": "dist/vue-timeago.js",
|
23 | "cdn": "dist/vue-timeago.js",
|
24 | "files": [
|
25 | "dist"
|
26 | ],
|
27 | "keywords": [
|
28 | "timeago",
|
29 | "vue",
|
30 | "filter"
|
31 | ],
|
32 | "devDependencies": {
|
33 | "@egoist/vue-to-react": "^1.1.0",
|
34 | "bili": "^4.7.0",
|
35 | "commitizen": "^3.0.7",
|
36 | "cz-conventional-changelog": "^2.1.0",
|
37 | "demoboard": "^0.3.1",
|
38 | "eslint-config-prettier": "^4.1.0",
|
39 | "eslint-config-rem": "^4.0.0",
|
40 | "eslint-plugin-prettier": "^3.0.1",
|
41 | "gh-pages": "^1.0.0",
|
42 | "husky": "^1.3.1",
|
43 | "lint-staged": "^8.1.5",
|
44 | "poi": "^12.10.3",
|
45 | "postcss-nested": "^4.1.2",
|
46 | "prettier": "^1.16.4",
|
47 | "raw-loader": "^3.0.0",
|
48 | "semantic-release": "^17.3.6",
|
49 | "vue": "^2.6.9",
|
50 | "vue-template-compiler": "^2.6.9",
|
51 | "xo": "^0.24.0"
|
52 | },
|
53 | "xo": {
|
54 | "extends": [
|
55 | "rem",
|
56 | "plugin:prettier/recommended"
|
57 | ],
|
58 | "ignores": [
|
59 | "example/**"
|
60 | ]
|
61 | },
|
62 | "dependencies": {
|
63 | "date-fns": "^1.29.0"
|
64 | },
|
65 | "husky": {
|
66 | "hooks": {
|
67 | "pre-commit": "lint-staged"
|
68 | }
|
69 | },
|
70 | "lint-staged": {
|
71 | "*.{ts,json,md}": [
|
72 | "prettier --write",
|
73 | "git add"
|
74 | ],
|
75 | "src/*.js": [
|
76 | "xo --fix",
|
77 | "git add"
|
78 | ]
|
79 | },
|
80 | "release": {
|
81 | "branch": "master"
|
82 | },
|
83 | "config": {
|
84 | "commitizen": {
|
85 | "path": "./node_modules/cz-conventional-changelog"
|
86 | }
|
87 | }
|
88 | }
|