{ "name": "formatjs-repo", "version": "1.0.0", "private": true, "description": "This repository is the home of FormatJS and related libraries.", "repository": { "type": "git", "url": "https://github.com/formatjs/formatjs" }, "scripts": { "build:bootstrap": "lerna bootstrap", "build:packages": "lerna run clean && lerna run build", "build": "npm run build:bootstrap && npm run prettier && npm run build:packages", "cover:collect": "mkdir -p ./.nyc_output/ && for d in $(find packages -type d -name '.nyc_output' -maxdepth 2 -exec find '{}' -type f ';'); do (cp $d ./.nyc_output/); done; nyc report --reporter=lcov --report-dir=${COVERAGE_DIR:-artifacts/coverage}", "cover": "lerna run cover --since", "dev:test": "lerna run test --since master", "karma:ci": "karma start karma.conf-ci.js", "karma:local": "karma start karma.conf.js", "lint": "eslint 'packages/*/src/**/*.ts?(x)' --fix", "postversion": "npm run prettier", "prepublishOnly": "npm run build", "prettier": "prettier --write 'packages/*/{test,tests,src,scripts}/**/*.ts' 'packages/babel-plugin-react-intl/test/**/*.js' '{src,scripts,test,tests}/**/*.js' '**/*.md'", "prettier:check": "prettier --check 'packages/*/{test,tests,src,scripts}/**/*.ts' 'packages/babel-plugin-react-intl/test/**/*.js' '{src,scripts,test,tests}/**/*.js' '**/*.md'", "test": "lerna run lint && npm run prettier:check && cross-env TS_NODE_PROJECT=tsconfig.cjs.json lerna run test" }, "dependencies": {}, "devDependencies": { "@babel/cli": "^7.7.4", "@babel/core": "^7.7.4", "@babel/parser": "^7.7.4", "@babel/preset-env": "^7.7.4", "@babel/preset-react": "^7.7.4", "@babel/types": "^7.7.4", "@istanbuljs/nyc-config-typescript": "^0.1.3", "@microsoft/api-extractor": "^7.6.1", "@types/benchmark": "^1.0.31", "@types/chai": "^4.2.5", "@types/eslint": "^6.1.3", "@types/estree": "0.0.39", "@types/estree-jsx": "0.0.0", "@types/fs-extra": "^8.0.1", "@types/jest": "^24.0.23", "@types/mocha": "^5.2.7", "@types/rimraf": "^2.0.3", "@types/serialize-javascript": "^1.5.0", "@typescript-eslint/eslint-plugin": "^2.8.0", "@typescript-eslint/parser": "^2.8.0", "babel-jest": "^24.9.0", "benchmark": "^2.1.4", "chai": "^4.2.0", "cldr-core": "^36.0.0", "coveralls": "^3.0.8", "cross-env": "^6.0.0", "eslint": "^6.7.0", "eslint-config-prettier": "^6.7.0", "eslint-plugin-import": "^2.18.2", "eslint-plugin-jest": "^23.0.4", "eslint-plugin-prettier": "^3.1.1", "eslint-plugin-react": "^7.16.0", "fast-memoize": "^2.5.1", "fs-extra": "^8.1.0", "full-icu": "^1.3.0", "glob": "^7.1.6", "jest": "^24.9.0", "karma": "^4.4.1", "karma-chai": "^0.1.0", "karma-chrome-launcher": "^3.1.0", "karma-mocha": "^1.3.0", "karma-sauce-launcher": "^2.0.2", "lerna": "^3.19.0", "make-plural-compiler": "^5.0.0", "mocha": "^6.2.2", "mocha-lcov-reporter": "^1.3.0", "moment": "^2.8.2", "nyc": "^14.0.0", "pegjs": "^0.10.0", "pre-commit": "^1.2.2", "prettier": "^1.19.1", "rimraf": "^3.0.0", "rollup": "^1.27.4", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-replace": "^2.2.0", "rollup-plugin-terser": "^5.1.2", "rollup-plugin-typescript2": "^0.25.0", "rollup-plugin-uglify": "^6.0.3", "serialize-javascript": "^2.1.0", "source-map-support": "^0.5.16", "test262-harness": "^6.4.0", "ts-jest": "^24.2.0", "ts-morph": "^5.0.0", "ts-node": "^8.5.2", "ts-pegjs": "^0.2.6", "tslib": "^1.10.0", "typescript": "^3.7.2" }, "eslintConfig": { "parser": "@typescript-eslint/parser", "plugins": [ "@typescript-eslint", "prettier", "import", "jest" ], "extends": [ "plugin:@typescript-eslint/recommended", "prettier", "prettier/@typescript-eslint", "plugin:import/typescript" ], "rules": { "@typescript-eslint/camelcase": 0, "@typescript-eslint/explicit-function-return-type": 0, "@typescript-eslint/explicit-member-accessibility": 0, "@typescript-eslint/no-explicit-any": 0, "@typescript-eslint/no-non-null-assertion": 0, "@typescript-eslint/no-object-literal-type-assertion": 0, "@typescript-eslint/no-unused-vars": 0, "@typescript-eslint/no-use-before-define": 0, "import/dynamic-import-chunkname": "error", "import/no-cycle": "error", "import/no-duplicates": "error", "import/no-self-import": "error", "import/no-useless-path-segments": "error" }, "overrides": [ { "files": [ "*.test.ts", "*.test.tsx" ], "rules": { "jest/no-focused-tests": "error" } } ] }, "devEngines": { "node": ">= 8.x", "npm": "6.x" }, "pre-commit": [ "prettier" ], "author": "Seth Bertalotto " }