-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 2.63 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "next-timeago",
"version": "0.2.0",
"description": "React timeago component for your next React apps.",
"author": "Bunlong <bunlong.van@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Bunlong/next-timeago.git"
},
"bugs": {
"url": "https://github.com/Bunlong/next-timeago.git/issues"
},
"keywords": [
"next-timeago",
"nextjs",
"next",
"reactjs",
"react",
"timeago",
"react-timeago"
],
"homepage": "https://github.com/Bunlong/next-timeago",
"main": "dist/next-timeago.js",
"module": "dist/next-timeago.es.js",
"jsnext:main": "dist/next-timeago.es.js",
"types": "dist/next-timeago.d.ts",
"@comment unpkg": "dist/next-timeago.umd.js",
"engines": {
"node": ">=8",
"npm": ">=5"
},
"scripts": {
"@test": "jest --runInBand",
"build": "rollup -c",
"prettier": "prettier --write './src/*.ts' './src/*.tsx' './src/languages/*.ts' --config ./.prettierrc",
"lint:check": "eslint ./src --ext .tsx,.ts --report-unused-disable-directives",
"bundlesize": "npm run build && bundlesize",
"dev": "rollup -c -w",
"prepare": "npm run build",
"predeploy": "cd docs && npm install && npm run build",
"deploy": "gh-pages -d docs/build"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/preset-env": "^7.15.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-node-resolve": "^13.0.4",
"@types/react": "^18.0.14",
"@types/react-dom": "^18.0.5",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^4.29.3",
"@typescript-eslint/parser": "^4.29.3",
"bundlesize": "^0.18.1",
"eslint": "^7.32.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^27.1.0",
"mutationobserver-shim": "^0.3.7",
"prettier": "^2.3.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "^2.1.3",
"react-test-renderer": "^18.2.0",
"rollup": "^2.56.3",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.32.1",
"ts-jest": "^27.0.5",
"tslib": "^2.3.1",
"typescript": "^4.4.2"
},
"files": [
"dist"
],
"bundlesize": [
{
"path": "./dist/*.js",
"maxSize": "900 kB"
},
{
"path": "./dist/**/*.js",
"maxSize": "900 kB"
},
{
"path": "./dist/*.ts",
"maxSize": "750 B"
},
{
"path": "./dist/**/*.ts",
"maxSize": "770 B"
}
],
"peerDependencies": {
"react": ">=17.0.0"
}
}