-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (42 loc) · 1.71 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
{
"name": "@stagetimerio/timeutils",
"version": "1.8.0",
"description": "Timer utilities for stagetimer.io",
"main": "index.js",
"type": "module",
"exports": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
},
"files": [
"dist",
"README.md"
],
"scripts": {
"test": "npm run test:UTC; npm run test:LA; npm run test:BER; npm run test:SYD",
"test:UTC": "TZ='UTC' NODE_OPTIONS=--experimental-vm-modules jest --config=tests/jest.config.js",
"test:LA": "TZ='America/Los_Angeles' NODE_OPTIONS=--experimental-vm-modules jest --config=tests/jest.config.js",
"test:BER": "TZ='Europe/Berlin' NODE_OPTIONS=--experimental-vm-modules jest --config=tests/jest.config.js",
"test:SYD": "TZ='Australia/Sydney' NODE_OPTIONS=--experimental-vm-modules jest --config=tests/jest.config.js",
"test:ci": "jest --ci --config=tests/jest.config.js",
"build": "rm -rf ./dist && npm run build:cjs && npm run build:esm",
"build:cjs": "esbuild index.js --outfile=./dist/cjs/index.js --legal-comments=linked --bundle --packages=external --format=cjs && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json",
"build:esm": "esbuild index.js --outfile=./dist/esm/index.js --legal-comments=linked --bundle --packages=external --format=esm && echo '{\"type\": \"module\"}' > dist/esm/package.json"
},
"author": "Lukas Hermann <[email protected]>",
"repository": {
"type": "git",
"url": "git+https://github.com/stagetimerio/package-timeutils.git"
},
"license": "ISC",
"dependencies": {
"date-fns": "^3.6.0",
"date-fns-tz": "^3.1.3"
},
"devDependencies": {
"chai": "^5.0.0",
"esbuild": "^0.24.0",
"eslint": "^9.3.0",
"jest": "^29.4.1"
}
}