-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.13 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 2.13 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
{
"name": "@atlassian/date-time",
"version": "0.3.2",
"description": "Atlassian Frontend Date Time API ",
"main": "dist/bundle.cjs",
"module": "dist/bundle.mjs",
"types": "dist/index.d.ts",
"exports": {
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/bundle.cjs"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/bundle.mjs"
}
},
"scripts": {
"typecheck": "tsc --noEmit",
"lint": "eslint && prettier --check .",
"format": "eslint --fix && prettier --write .",
"pretest": "npm run build",
"test": "npm run test:en-US && npm run test:en-GB",
"test:en-US": "LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 TZ=Asia/Sydney jest",
"test:en-GB": "LANG=en_GB.UTF-8 LC_ALL=en_GB.UTF-8 TZ=Asia/Sydney jest",
"test:coverage": "npm run build && npm run test:en-US && npm run test:en-GB -- --coverage",
"checks": "npm run typecheck && npm run lint && npm run test",
"build": "npm run build:types && npm run build:bundle",
"build:types": "tsc --project tsconfig.json",
"build:bundle": "webpack",
"prepublishOnly": "rm -rf dist && npm run checks"
},
"repository": {
"type": "git",
"url": "git+https://github.com/atlassian/date-time-api.git"
},
"keywords": [
"atlassian",
"date",
"time"
],
"author": "Zac Xu",
"license": "Apache-2.0",
"files": [
"dist/bundle.cjs",
"dist/bundle.mjs",
"dist/bundle.amd.js",
"dist/bundle.global.js",
"dist/index.d.ts",
"README.md",
"LICENSE"
],
"bugs": {
"url": "https://github.com/atlassian/date-time-api/issues"
},
"homepage": "https://github.com/atlassian/date-time-api#readme",
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/jest": "^30.0.0",
"@types/node": "^26.1.1",
"eslint": "^10.7.0",
"globals": "^17.7.0",
"jest": "^30.4.2",
"prettier": "3.9.5",
"ts-jest": "^29.4.11",
"ts-loader": "^9.6.2",
"typescript": "^6.0.3",
"typescript-eslint": "^8.64.0",
"webpack": "^5.108.4",
"webpack-cli": "^7.2.1"
},
"publishConfig": {
"registry": "https://packages.atlassian.com/api/npm/npm-public/"
}
}