-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 1.79 KB
/
package.json
File metadata and controls
63 lines (63 loc) · 1.79 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
{
"name": "datefmt-lite",
"version": "2.1.0",
"type": "module",
"description": "Lightweight string‑to‑string date format converter with pluggable tokens",
"main": "dist/cjs/index.cjs.js",
"module": "dist/esm/index.esm.js",
"types": "types/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.esm.js",
"require": "./dist/cjs/index.cjs.js"
}
},
"scripts": {
"clean": "rimraf dist",
"build:cjs": "cross-env BABEL_ENV=cjs babel src --out-dir dist/cjs --extensions \".js,.mjs\"",
"build:esm": "cross-env BABEL_ENV=esm babel src --out-dir dist/esm --extensions \".js,.mjs\"",
"build": "yarn clean && yarn build:cjs && yarn build:esm",
"bundle:cjs": "cross-env BABEL_ENV=cjs rollup -c",
"bundle:esm": "cross-env BABEL_ENV=esm rollup -c",
"bundle": "yarn bundle:cjs && yarn bundle:esm",
"prepare": "yarn build && yarn bundle",
"test": "jest --config jest.config.cjs",
"prepublishOnly": "yarn test"
},
"files": [
"dist",
"types",
"README.md",
"package.json"
],
"keywords": [
"date",
"format",
"convert",
"parser",
"formatter"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/sathvikc/datefmt-lite.git"
},
"bugs": {
"url": "https://github.com/sathvikc/datefmt-lite/issues"
},
"homepage": "https://github.com/sathvikc/datefmt-lite#readme",
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.27.1",
"@babel/preset-env": "^7.27.2",
"@rollup/plugin-babel": "^6.0.0",
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-node-resolve": "^16.0.1",
"babel-jest": "^29.7.0",
"cross-env": "^7.0.0",
"jest": "^29.7.0",
"rimraf": "^3.0.0",
"rollup": "^3.0.0",
"rollup-plugin-terser": "^7.0.0"
}
}