UNPKG

intl-relative-time-format

Version:

A fully spec-compliant polyfill for 'Intl.RelativeTimeFormat'

118 lines (117 loc) 3.44 kB
{ "name": "intl-relative-time-format", "version": "1.0.7", "description": "A fully spec-compliant polyfill for 'Intl.RelativeTimeFormat'", "repository": { "type": "git", "url": "https://github.com/wessberg/intl-relative-time-format.git" }, "bugs": { "url": "https://github.com/wessberg/intl-relative-time-format/issues" }, "scripts": { "generate:readme": "scaffold readme --yes", "generate:license": "scaffold license --yes", "generate:contributing": "scaffold contributing --yes", "generate:coc": "scaffold coc --yes", "generate:changelog": "standard-changelog --first-release", "generate:all": "npm run generate:license & npm run generate:contributing & npm run generate:coc & npm run generate:readme && npm run generate:changelog", "clean:dist": "rm -rf dist", "clean:compiled": "rm -rf compiled", "clean": "npm run clean:dist && npm run clean:compiled", "lint": "tsc --noEmit && tslint -c tslint.json --project tsconfig.json", "prettier": "prettier --write '{src,test,documentation}/**/*.{js,ts,json,html,xml,css,md}'", "test": "ava", "test262": "node test262-runner.js", "posttest": "npm run clean:compiled", "prebuild": "npm run clean:dist", "build": "npm run rollup", "watch": "npm run rollup -- --watch", "build_data": "cd scripts/build-data && tsc && node compiled/scripts/build-data/build-data.js && rm -rf compiled", "rollup": "rollup -c rollup.config.js", "preversion": "npm run lint && npm run build_data && NODE_ENV=production npm run build", "version": "npm run generate:all && git add .", "release": "np --no-cleanup --no-yarn" }, "files": [ "dist/**/*.*", "locale-data/**/*.*" ], "keywords": [ "intl", "RelativeTimeFormat", "ecma-402", "internationalization", "i18n", "time ago", "polyfill", "relative time", "ECMAScript internationalization API" ], "contributors": [ { "name": "Frederik Wessberg", "email": "frederikwessberg@hotmail.com", "url": "https://github.com/wessberg", "imageUrl": "https://avatars2.githubusercontent.com/u/20454213?s=460&v=4", "role": "Lead Developer", "twitter": "FredWessberg" } ], "license": "MIT", "devDependencies": { "@types/find-up": "^2.1.1", "@wessberg/rollup-plugin-ts": "1.1.59", "@wessberg/browserslist-generator": "1.0.23", "@wessberg/scaffold": "1.0.19", "@wessberg/ts-config": "^0.0.41", "babel-preset-minify": "0.5.0", "ava": "^2.1.0", "test262-harness": "^6.3.2", "cldr": "^5.3.0", "find-up": "^4.1.0", "rollup": "^1.16.6", "rollup-plugin-node-resolve": "^5.2.0", "standard-changelog": "^2.0.11", "javascript-stringify": "^2.0.0", "tslib": "^1.10.0", "tslint": "^5.18.0", "typescript": "^3.5.2", "prettier": "^1.18.2", "pretty-quick": "^1.11.1", "husky": "^3.0.0", "np": "^5.0.3", "ts-node": "8.3.0", "rollup-plugin-multi-entry": "2.1.0", "full-icu": "1.3.0" }, "dependencies": {}, "test262": "./test262-polyfill.js", "minified": "./dist/index.min.js", "main": "./dist/index.js", "module": "./dist/index.esm.js", "browser": "./dist/index.esm.js", "types": "./dist/index.d.ts", "typings": "./dist/index.d.ts", "es2015": "./dist/index.esm.js", "engines": { "node": ">=4.0.0" }, "husky": { "hooks": { "pre-commit": "pretty-quick --staged" } }, "ava": { "files": [ "test/*.test.ts" ], "compileEnhancements": false, "extensions": [ "ts" ], "require": [ "ts-node/register" ] } }