Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
67 lines (66 sloc) 1.73 KB
{
"private": true,
"license": "MIT",
"scripts": {
"bootstrap": "npm i && lerna bootstrap",
"postbootstrap": "npm run build",
"build": "lerna run -- build",
"test": "lerna run -- test",
"prelint": "npm run lint-fix",
"lint": "lerna run -- lint",
"lint-fix": "prettier --trailing-comma all --single-quote --write \"packages/*/{src,tests,test,benchmark}/**/*.{j,t}s*\"",
"lint-staged": "lint-staged",
"filesize": "lerna run -- filesize && bundlesize",
"type-check": "lerna run -- type-check",
"coverage": "lerna run -- coverage",
"coverage:upload": "codecov",
"danger": "danger run --verbose",
"predeploy": "npm run build",
"deploy": "lerna publish -m \"chore: Publish\" --independent"
},
"bundlesize": [
{
"name": "apollo-link-state",
"path": "./packages/apollo-link-state/lib/bundle.min.js",
"maxSize": "3 Kb"
}
],
"jest": {
"globals": {
"ts-jest": {
"useBabelrc": false,
"mapCoverage": true
}
},
"mapCoverage": true,
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
}
},
"lint-staged": {
"*.{ts, tsx, js, jsx}": [
"prettier --trailing-comma all --single-quote --write",
"git add"
],
"!(package).json": [
"prettier --write",
"git add"
]
},
"pre-commit": "lint-staged",
"dependencies": {},
"devDependencies": {
"@types/jest": "22.1.x",
"@types/zen-observable": "0.5.3",
"bundlesize": "0.15.3",
"codecov": "3.0.0",
"danger": "1.2.0",
"lerna": "2.5.1",
"lint-staged": "^7.0.0",
"pre-commit": "1.2.2",
"prettier": "1.8.2",
"react-scripts": "^1.1.1",
"ts-jest": "21.2.3",
"typescript": "2.6.2"
}
}