{ "name": "@js-temporal/polyfill", "version": "0.4.4", "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" }, "require": { "types": "./index.d.cts", "default": "./dist/index.cjs" }, "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 && 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 --strict --lib ESNext" }, "keywords": [ "Calendar", "Date", "DateTime", "Duration", "Instant", "MonthDay", "Polyfill", "Temporal", "Time", "Timestamp", "TimeZone", "YearMonth" ], "author": "Philipp Dunkel ", "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", "tslib": "^2.4.1" }, "devDependencies": { "@babel/core": "^7.20.5", "@babel/preset-env": "^7.20.2", "@js-temporal/temporal-test262-runner": "^0.9.0", "@pipobscure/demitasse": "^1.0.10", "@pipobscure/demitasse-pretty": "^1.0.10", "@pipobscure/demitasse-run": "^1.0.10", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-commonjs": "^23.0.4", "@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-replace": "^5.0.1", "@rollup/plugin-terser": "^0.2.0", "@rollup/plugin-typescript": "^10.0.1", "@typescript-eslint/eslint-plugin": "^5.46.0", "@typescript-eslint/parser": "^5.46.0", "eslint": "^8.29.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.2.1", "full-icu": "^1.5.0", "prettier": "^2.8.1", "rollup": "^3.7.1", "rollup-plugin-dts": "^5.0.0", "rollup-plugin-sourcemaps": "^0.6.3", "test262-harness": "^10.0.0", "timezones.json": "^1.6.1", "ts-prune": "^0.10.3", "typescript": "^4.9.4", "yargs": "^17.6.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" }