[6a3a178] | 1 | {
|
---|
| 2 | "name": "y18n",
|
---|
| 3 | "version": "5.0.8",
|
---|
| 4 | "description": "the bare-bones internationalization library used by yargs",
|
---|
| 5 | "exports": {
|
---|
| 6 | ".": [
|
---|
| 7 | {
|
---|
| 8 | "import": "./index.mjs",
|
---|
| 9 | "require": "./build/index.cjs"
|
---|
| 10 | },
|
---|
| 11 | "./build/index.cjs"
|
---|
| 12 | ]
|
---|
| 13 | },
|
---|
| 14 | "type": "module",
|
---|
| 15 | "module": "./build/lib/index.js",
|
---|
| 16 | "keywords": [
|
---|
| 17 | "i18n",
|
---|
| 18 | "internationalization",
|
---|
| 19 | "yargs"
|
---|
| 20 | ],
|
---|
| 21 | "homepage": "https://github.com/yargs/y18n",
|
---|
| 22 | "bugs": {
|
---|
| 23 | "url": "https://github.com/yargs/y18n/issues"
|
---|
| 24 | },
|
---|
| 25 | "repository": "yargs/y18n",
|
---|
| 26 | "license": "ISC",
|
---|
| 27 | "author": "Ben Coe <bencoe@gmail.com>",
|
---|
| 28 | "main": "./build/index.cjs",
|
---|
| 29 | "scripts": {
|
---|
| 30 | "check": "standardx **/*.ts **/*.cjs **/*.mjs",
|
---|
| 31 | "fix": "standardx --fix **/*.ts **/*.cjs **/*.mjs",
|
---|
| 32 | "pretest": "rimraf build && tsc -p tsconfig.test.json && cross-env NODE_ENV=test npm run build:cjs",
|
---|
| 33 | "test": "c8 --reporter=text --reporter=html mocha test/*.cjs",
|
---|
| 34 | "test:esm": "c8 --reporter=text --reporter=html mocha test/esm/*.mjs",
|
---|
| 35 | "posttest": "npm run check",
|
---|
| 36 | "coverage": "c8 report --check-coverage",
|
---|
| 37 | "precompile": "rimraf build",
|
---|
| 38 | "compile": "tsc",
|
---|
| 39 | "postcompile": "npm run build:cjs",
|
---|
| 40 | "build:cjs": "rollup -c",
|
---|
| 41 | "prepare": "npm run compile"
|
---|
| 42 | },
|
---|
| 43 | "devDependencies": {
|
---|
| 44 | "@types/node": "^14.6.4",
|
---|
| 45 | "@wessberg/rollup-plugin-ts": "^1.3.1",
|
---|
| 46 | "c8": "^7.3.0",
|
---|
| 47 | "chai": "^4.0.1",
|
---|
| 48 | "cross-env": "^7.0.2",
|
---|
| 49 | "gts": "^3.0.0",
|
---|
| 50 | "mocha": "^8.0.0",
|
---|
| 51 | "rimraf": "^3.0.2",
|
---|
| 52 | "rollup": "^2.26.10",
|
---|
| 53 | "standardx": "^7.0.0",
|
---|
| 54 | "ts-transform-default-export": "^1.0.2",
|
---|
| 55 | "typescript": "^4.0.0"
|
---|
| 56 | },
|
---|
| 57 | "files": [
|
---|
| 58 | "build",
|
---|
| 59 | "index.mjs",
|
---|
| 60 | "!*.d.ts"
|
---|
| 61 | ],
|
---|
| 62 | "engines": {
|
---|
| 63 | "node": ">=10"
|
---|
| 64 | },
|
---|
| 65 | "standardx": {
|
---|
| 66 | "ignore": [
|
---|
| 67 | "build"
|
---|
| 68 | ]
|
---|
| 69 | }
|
---|
| 70 | }
|
---|