mirror of
https://github.com/zhigang1992/yarn.git
synced 2026-01-12 22:53:44 +08:00
**Summary** We now build and lint on CircleCI so reduce the number of tests on TravisCI and simplify the config. **Test plan** TravisCI tests should still pass and be less.
133 lines
4.0 KiB
JSON
133 lines
4.0 KiB
JSON
{
|
|
"name": "yarn",
|
|
"installationMethod": "unknown",
|
|
"version": "1.3.2",
|
|
"license": "BSD-2-Clause",
|
|
"preferGlobal": true,
|
|
"description": "📦🐈 Fast, reliable, and secure dependency management.",
|
|
"dependencies": {
|
|
"babel-eslint": "^7.2.3",
|
|
"babel-runtime": "^6.26.0",
|
|
"bytes": "^2.4.0",
|
|
"camelcase": "^4.0.0",
|
|
"chalk": "^2.1.0",
|
|
"cmd-shim": "^2.0.1",
|
|
"commander": "^2.9.0",
|
|
"death": "^1.0.0",
|
|
"debug": "^2.2.0",
|
|
"detect-indent": "^5.0.0",
|
|
"dnscache": "^1.0.1",
|
|
"eslint-plugin-jest": "^20.0.3",
|
|
"eslint-plugin-jsx-a11y": "^6.0.2",
|
|
"eslint-plugin-relay": "0.0.8",
|
|
"glob": "^7.1.1",
|
|
"gunzip-maybe": "^1.4.0",
|
|
"ini": "^1.3.4",
|
|
"inquirer": "^3.0.1",
|
|
"invariant": "^2.2.0",
|
|
"is-builtin-module": "^1.0.0",
|
|
"is-ci": "^1.0.10",
|
|
"is-webpack-bundle": "^1.0.0",
|
|
"leven": "^2.0.0",
|
|
"loud-rejection": "^1.2.0",
|
|
"micromatch": "^2.3.11",
|
|
"mkdirp": "^0.5.1",
|
|
"node-emoji": "^1.6.1",
|
|
"normalize-url": "^1.9.1",
|
|
"object-path": "^0.11.2",
|
|
"proper-lockfile": "^2.0.0",
|
|
"puka": "^1.0.0",
|
|
"read": "^1.0.7",
|
|
"request": "^2.81.0",
|
|
"request-capture-har": "^1.2.2",
|
|
"rimraf": "^2.5.0",
|
|
"semver": "^5.1.0",
|
|
"strip-ansi": "^4.0.0",
|
|
"strip-bom": "^3.0.0",
|
|
"tar-fs": "^1.15.1",
|
|
"tar-stream": "^1.5.2",
|
|
"uuid": "^3.0.1",
|
|
"v8-compile-cache": "^1.1.0",
|
|
"validate-npm-package-license": "^3.0.1",
|
|
"yn": "^2.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel-core": "^6.26.0",
|
|
"babel-loader": "^6.2.5",
|
|
"babel-plugin-array-includes": "^2.0.3",
|
|
"babel-plugin-transform-inline-imports-commonjs": "^1.0.0",
|
|
"babel-plugin-transform-runtime": "^6.4.3",
|
|
"babel-preset-env": "^1.6.0",
|
|
"babel-preset-flow": "^6.23.0",
|
|
"babel-preset-stage-0": "^6.0.0",
|
|
"babylon": "^6.5.0",
|
|
"commitizen": "^2.9.6",
|
|
"cz-conventional-changelog": "^2.0.0",
|
|
"eslint": "^4.3.0",
|
|
"eslint-config-fb-strict": "^20.1.0-delta.3",
|
|
"eslint-plugin-babel": "^4.0.0",
|
|
"eslint-plugin-flowtype": "^2.35.0",
|
|
"eslint-plugin-jasmine": "^2.6.2",
|
|
"eslint-plugin-prefer-object-spread": "^1.2.1",
|
|
"eslint-plugin-prettier": "^2.1.2",
|
|
"eslint-plugin-react": "^7.1.0",
|
|
"eslint-plugin-yarn-internal": "file:scripts/eslint-rules",
|
|
"execa": "^0.7.0",
|
|
"flow-bin": "^0.52.0",
|
|
"gulp": "^3.9.0",
|
|
"gulp-babel": "^7.0.0",
|
|
"gulp-if": "^2.0.1",
|
|
"gulp-newer": "^1.0.0",
|
|
"gulp-plumber": "^1.0.1",
|
|
"gulp-sourcemaps": "^2.2.0",
|
|
"gulp-util": "^3.0.7",
|
|
"gulp-watch": "^4.3.5",
|
|
"jest": "20.0.4",
|
|
"minimatch": "^3.0.4",
|
|
"mock-stdin": "^0.3.0",
|
|
"prettier": "^1.5.2",
|
|
"temp": "^0.8.3",
|
|
"webpack": "^2.1.0-beta.25",
|
|
"yargs": "^6.3.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=4.0.0"
|
|
},
|
|
"repository": "yarnpkg/yarn",
|
|
"bin": {
|
|
"yarn": "./bin/yarn.js",
|
|
"yarnpkg": "./bin/yarn.js"
|
|
},
|
|
"scripts": {
|
|
"build": "gulp build",
|
|
"build-bundle": "node ./scripts/build-webpack.js",
|
|
"build-chocolatey": "powershell ./scripts/build-chocolatey.ps1",
|
|
"build-deb": "./scripts/build-deb.sh",
|
|
"build-dist": "bash ./scripts/build-dist.sh",
|
|
"build-win-installer": "scripts\\build-windows-installer.bat",
|
|
"lint": "eslint . && flow check",
|
|
"prettier": "eslint src __tests__ --fix",
|
|
"release-branch": "./scripts/release-branch.sh",
|
|
"test": "yarn lint && yarn test-only",
|
|
"test-only": "node --max_old_space_size=4096 node_modules/jest/bin/jest.js --verbose",
|
|
"test-coverage": "node --max_old_space_size=4096 node_modules/jest/bin/jest.js --coverage --verbose",
|
|
"watch": "gulp watch",
|
|
"commit": "git-cz"
|
|
},
|
|
"jest": {
|
|
"collectCoverageFrom": ["src/**/*.js"],
|
|
"testEnvironment": "node",
|
|
"modulePathIgnorePatterns": ["__tests__/fixtures/"],
|
|
"testPathIgnorePatterns": [
|
|
"__tests__/(fixtures|__mocks__)/",
|
|
"updates/",
|
|
"/_(temp|mock|install|init|helpers).js$"
|
|
]
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
}
|
|
}
|