-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 1.73 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 1.73 KB
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
{
"name": "timestamp-utils",
"version": "2.2.0",
"description": "⏱️ An anwsome and tiny util package for timestamp without dependencies",
"main": "dist/index.js",
"files": [
"/dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/arncet/timestamp-utils.git"
},
"ava": {
"require": [
"@babel/register"
]
},
"xo": {
"semicolon": false,
"space": true,
"rules": {
"curly": [
2,
"multi"
],
"object-curly-spacing": [
2,
"always"
],
"import/extensions": [
2,
{ "js": "never" }
],
"n/file-extension-in-import": [
2,
"always",
{ ".js": "never" }
]
}
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm run test"
}
},
"size-limit": [
{
"limit": "2 KB",
"path": "dist/index.js"
}
],
"scripts": {
"build": "rollup -c",
"watch": "rollup -c --watch",
"size": "npx size-limit",
"test": "ava",
"lint": "xo src",
"prepublishOnly": "npm run lint && npm run test && npm run build && npm run size",
"prepare": "husky install"
},
"keywords": [
"timestamp",
"utils",
"date",
"timezone"
],
"author": "Arnaud CETOUTE <arnaud.cetoute@hotmail.fr>",
"license": "MIT",
"devDependencies": {
"@babel/core": "7.18.6",
"@babel/plugin-proposal-object-rest-spread": "7.18.6",
"@babel/preset-env": "7.18.6",
"@babel/register": "7.18.6",
"@size-limit/preset-small-lib": "7.0.8",
"ava": "4.3.1",
"husky": "8.0.1",
"rollup": "2.76.0",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-uglify": "6.0.4",
"size-limit": "7.0.8",
"xo": "0.50.0"
}
}