-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
58 lines (58 loc) · 1.78 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
{
"name": "@bitty/format-date",
"version": "1.4.0",
"sideEffects": false,
"description": "A small library (around 400 B when gziped & minified) to format JavaScript `Date` object using same tokens as moment.",
"cdn": "./dist/format-date.umd.min.js",
"main": "./dist/format-date.js",
"types": "./types/format-date.d.ts",
"unpkg": "./dist/format-date.umd.min.js",
"module": "./dist/format-date.esm.js",
"jsdelivr": "./dist/format-date.umd.min.js",
"umd:main": "./dist/format-date.umd.js",
"exports": {
".": [
{
"import": "./dist/format-date.mjs",
"require": "./dist/format-date.js",
"default": "./dist/format-date.js"
},
"./dist/format-date.js"
]
},
"files": [
"types/",
"dist/"
],
"scripts": {
"lint": "prettier --check \"./src/**/*.ts\"",
"lint:fix": "prettier --write \"./src/**/*.ts\"",
"build": "pnpm run build:transpile && pnpm run build:bundle",
"build:transpile": "tsc --project ./tsconfig.build.json",
"build:bundle": "rollup --config ./rollup.config.js",
"test": "pnpm run lint && pnpm run test:transpile && ava",
"test:transpile": "tsc --project ./tsconfig.test.json",
"prepublishOnly": "pnpm run test && pnpm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/VitorLuizC/format-date.git"
},
"author": {
"url": "https://vitorluizc.github.io/",
"name": "Vitor Luiz Cavalcanti",
"email": "[email protected]"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/VitorLuizC/format-date/issues"
},
"homepage": "https://github.com/VitorLuizC/format-date",
"devDependencies": {
"ava": "^4.0.1",
"prettier": "^2.5.1",
"rollup": "^2.63.0",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^4.5.4"
}
}