-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathpackage.json
More file actions
141 lines (141 loc) · 4.39 KB
/
package.json
File metadata and controls
141 lines (141 loc) · 4.39 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "@js-temporal/polyfill",
"version": "0.5.1",
"description": "Polyfill for Temporal (https://github.com/tc39/proposal-temporal), an ECMA TC39 Stage 3 proposal",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.esm.js",
"browser": "./dist/index.umd.js",
"exports": {
".": [
{
"import": {
"types": "./index.d.ts",
"default": "./dist/index.esm.js"
},
"require": {
"types": "./index.d.cts",
"default": "./dist/index.cjs"
},
"default": "./dist/index.cjs"
},
"./dist/index.cjs"
]
},
"sideEffects": [
"./tsc-out/calendar.js"
],
"types": "./index.d.ts",
"scripts": {
"test": "node --no-warnings --experimental-modules --experimental-vm-modules --experimental-specifier-resolution=node --icu-data-dir node_modules/full-icu node_modules/.bin/jest",
"test262": "TEST262=1 npm run build && node runtest262.mjs \"$@\"",
"testValidStrings": "npm run build && node --experimental-modules --experimental-specifier-resolution=node --no-warnings --icu-data-dir ./node_modules/full-icu/ --loader ./test/resolve.source.mjs test/validStrings.mjs",
"build": "rm -rf dist/* tsc-out/* && tsc && rollup -c rollup.config.js --bundleConfigAsCjs",
"prepare": "npm run build",
"prepublishOnly": "node copy-types.mjs && npm run build",
"update": "npx npm-check-updates -u -x @pipobscure/demitasse && npm install",
"playground": "TEMPORAL_PLAYGROUND=1 npm run build && node --experimental-modules --no-warnings --icu-data-dir node_modules/full-icu -r ./dist/playground.cjs",
"lint": "eslint . --ext ts,js,mjs,.d.ts --max-warnings 0 --cache \"$@\" && npm run prettier",
"postlint": "npm run tscheck",
"prune": "ts-prune -e -i test/tc39 -i \"(lib/index|lib/init|index.d).ts\"",
"prettier": "prettier lib/* ./test/*.mjs ./*.md ./*.json ./*.d.ts ./*.js ./.*.yml --check",
"prettierfix": "prettier lib/* ./test/*.mjs ./*.md ./*.json ./*.d.ts ./*.js ./.*.yml --check --write",
"eslintfix": "eslint . --ext ts,js,mjs,.d.ts --fix",
"fix": "npm run eslintfix && npm run prettierfix",
"tscheck": "tsc index.d.ts --noEmit --types --strict --lib ESNext"
},
"keywords": [
"Calendar",
"Date",
"DateTime",
"Duration",
"Instant",
"MonthDay",
"Polyfill",
"Temporal",
"Time",
"Timestamp",
"TimeZone",
"YearMonth"
],
"author": "Philipp Dunkel <pip@pipobscure.com>",
"contributors": [
"Daniel Ehrenberg",
"Jason Williams",
"Justin Grant",
"James Wright",
"Maggie Johnson-Pint",
"Matt Johnson-Pint",
"Ms2ger",
"Philip Chimento",
"Philipp Dunkel",
"Sasha Pierson",
"Shane F. Carr",
"Ujjwal Sharma"
],
"license": "ISC",
"files": [
"index.d.ts",
"index.d.cts",
"dist",
"lib",
"CHANGELOG.md"
],
"overrides": {
"@rollup/pluginutils": "^5.0.2"
},
"dependencies": {
"jsbi": "^4.3.0"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.2",
"@js-temporal/temporal-test262-runner": "^0.10.1",
"@rollup/plugin-babel": "^7.0.0",
"@rollup/plugin-commonjs": "^29.0.2",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-replace": "^6.0.3",
"@rollup/plugin-strip": "^3.0.4",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.3.0",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"eslint": "^8.42.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"full-icu": "^1.5.0",
"jest": "^29.7.0",
"prettier": "^2.8.8",
"rollup": "^3.30.0",
"rollup-plugin-dts": "^5.3.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"timezones.json": "^1.7.0",
"ts-prune": "^0.10.3",
"typescript": "^5.1.3",
"yargs": "^17.7.2"
},
"engines": {
"node": ">=12"
},
"prettier": {
"printWidth": 120,
"trailingComma": "none",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"bracketSpacing": true,
"arrowParens": "always"
},
"directories": {
"lib": "lib",
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/js-temporal/temporal-polyfill.git"
},
"bugs": {
"url": "https://github.com/js-temporal/temporal-polyfill/issues"
},
"homepage": "https://github.com/js-temporal/temporal-polyfill#readme"
}