forked from js-temporal/temporal-polyfill
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
130 lines (130 loc) · 4.11 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
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
{
"name": "@js-temporal/polyfill",
"version": "0.4.2",
"description": "Polyfill for Tc39 Stage 3 proposal Temporal (https://github.com/tc39/proposal-temporal)",
"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"
},
"default": "./dist/index.cjs"
},
"./dist/index.cjs"
]
},
"types": "./index.d.ts",
"scripts": {
"test": "npm run build && node --no-warnings --experimental-modules --experimental-specifier-resolution=node --icu-data-dir node_modules/full-icu --loader ./test/resolve.source.mjs ./test/all.mjs",
"test262": "TEST262=1 npm run build && ./test/test262.sh",
"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",
"prepare": "npm run build",
"prepublishOnly": "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 --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",
"dist",
"lib",
"CHANGELOG.md"
],
"dependencies": {
"jsbi": "^4.1.0",
"tslib": "^2.3.1"
},
"devDependencies": {
"@babel/core": "^7.16.5",
"@babel/preset-env": "^7.16.5",
"@pipobscure/demitasse": "^1.0.10",
"@pipobscure/demitasse-pretty": "^1.0.10",
"@pipobscure/demitasse-run": "^1.0.10",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.1",
"@rollup/plugin-replace": "^3.0.0",
"@rollup/plugin-typescript": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"full-icu": "^1.4.0",
"prettier": "^2.5.1",
"rollup": "^2.61.1",
"rollup-plugin-dts": "^4.0.1",
"rollup-plugin-terser": "^7.0.2",
"test262-harness": "^9.0.0",
"timezones.json": "^1.5.3",
"ts-prune": "^0.10.3",
"typescript": "^4.5.4"
},
"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"
}