Skip to content

Commit

Permalink
Unwind rogue prettier pre-commit issues
Browse files Browse the repository at this point in the history
  • Loading branch information
hwillson committed May 24, 2018
1 parent 0c2d7f9 commit 5301f08
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 38 deletions.
13 changes: 8 additions & 5 deletions packages/apollo-boost/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,8 @@
"watch": "tsc -w -p .",
"clean": "rimraf coverage/* && rimraf lib/*",
"prepublishOnly": "npm run build",
"build:browser":
"browserify ./lib/index.js --i apollo-utilities -o=./lib/bundle.js && npm run minify:browser",
"minify:browser":
"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js",
"build:browser": "browserify ./lib/index.js --i apollo-utilities -o=./lib/bundle.js && npm run minify:browser",
"minify:browser": "uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js",
"filesize": "npm run build && npm run build:browser"
},
"dependencies": {
Expand Down Expand Up @@ -63,6 +61,11 @@
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": ["ts", "tsx", "js", "json"]
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
}
}
13 changes: 8 additions & 5 deletions packages/apollo-cache-inmemory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,8 @@
"watch": "tsc -w -p .",
"clean": "rimraf coverage/* && rimraf lib/*",
"prepublishOnly": "npm run build",
"build:browser":
"browserify ./lib/bundle.umd.js --i apollo-cache --i apollo-utilities --i graphql -o=./lib/bundle.js && npm run minify:browser",
"minify:browser":
"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js",
"build:browser": "browserify ./lib/bundle.umd.js --i apollo-cache --i apollo-utilities --i graphql -o=./lib/bundle.js && npm run minify:browser",
"minify:browser": "uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js",
"filesize": "npm run build:browser"
},
"dependencies": {
Expand Down Expand Up @@ -70,6 +68,11 @@
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": ["ts", "tsx", "js", "json"]
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
}
}
16 changes: 9 additions & 7 deletions packages/apollo-cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,16 @@
"scripts": {
"coverage": "jest --coverage",
"test": "jest",
"lint":
"tslint --type-check -p tsconfig.json src/*.ts && tslint --type-check -p tsconfig.json tests/*.ts",
"lint": "tslint --type-check -p tsconfig.json src/*.ts && tslint --type-check -p tsconfig.json tests/*.ts",
"prebuild": "npm run clean",
"build": "tsc -p .",
"postbuild": "npm run bundle",
"bundle": "rollup -c rollup.config.js",
"watch": "tsc -w -p .",
"clean": "rimraf coverage/* && rimraf lib/*",
"prepublishOnly": "npm run clean && npm run build",
"build:browser":
"browserify ./lib/bundle.umd.js --i apollo-utilities -o=./lib/bundle.js && npm run minify:browser",
"minify:browser":
"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js",
"build:browser": "browserify ./lib/bundle.umd.js --i apollo-utilities -o=./lib/bundle.js && npm run minify:browser",
"minify:browser": "uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js",
"filesize": "npm run build && npm run build:browser"
},
"dependencies": {
Expand All @@ -64,6 +61,11 @@
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": ["ts", "tsx", "js", "json"]
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
}
}
23 changes: 13 additions & 10 deletions packages/apollo-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,14 @@
"dev": "./scripts/dev.sh",
"deploy": "./scripts/deploy.sh",
"test": "jest",
"benchmark":
"npm run build:benchmark && node benchmark_lib/benchmark/index.js",
"benchmark:inspect":
"npm run build:benchmark && node --inspect --debug-brk benchmark_lib/benchmark/index.js",
"benchmark": "npm run build:benchmark && node benchmark_lib/benchmark/index.js",
"benchmark:inspect": "npm run build:benchmark && node --inspect --debug-brk benchmark_lib/benchmark/index.js",
"filesize": "npm run build && npm run build:browser",
"type-check": "flow check",
"build": "tsc",
"build:benchmark": "tsc -p tsconfig.benchmark.json",
"build:browser":
"browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-utilities --i apollo-cache --i apollo-link --i apollo-link-dedup && npm run minify:browser",
"minify:browser":
"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js",
"build:browser": "browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-utilities --i apollo-cache --i apollo-link --i apollo-link-dedup && npm run minify:browser",
"minify:browser": "uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js",
"watch": "tsc -w",
"bundle": "rollup -c rollup.config.js",
"postbuild": "npm run bundle",
Expand Down Expand Up @@ -98,7 +94,14 @@
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": ["ts", "tsx", "js", "json"],
"setupFiles": ["<rootDir>/scripts/tests.js"]
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"setupFiles": [
"<rootDir>/scripts/tests.js"
]
}
}
13 changes: 8 additions & 5 deletions packages/apollo-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,8 @@
"watch": "tsc -w -p .",
"clean": "rimraf lib/* && rimraf coverage/*",
"prepublishOnly": "npm run clean && npm run build",
"build:browser":
"browserify ./lib/bundle.umd.js -o=./lib/bundle.js && npm run minify:browser",
"minify:browser":
"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js",
"build:browser": "browserify ./lib/bundle.umd.js -o=./lib/bundle.js && npm run minify:browser",
"minify:browser": "uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js",
"filesize": "npm run build && npm run build:browser"
},
"devDependencies": {
Expand All @@ -63,6 +61,11 @@
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": ["ts", "tsx", "js", "json"]
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
}
}
17 changes: 11 additions & 6 deletions packages/graphql-anywhere/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@
"watch": "tsc -w",
"prepublishOnly": "npm run build",
"lint": "tslint --type-check -p tsconfig.json src/*.ts",
"build:browser":
"browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-utilities && npm run minify:browser",
"minify:browser":
"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js",
"build:browser": "browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-utilities && npm run minify:browser",
"minify:browser": "uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js",
"filesize": "npm run build:browser"
},
"repository": {
Expand All @@ -36,7 +34,9 @@
"react"
],
"author": "Sashko Stubailo <[email protected]>",
"contributors": ["James Burgess <[email protected]>"],
"contributors": [
"James Burgess <[email protected]>"
],
"license": "MIT",
"dependencies": {
"apollo-utilities": "^1.0.12"
Expand Down Expand Up @@ -66,6 +66,11 @@
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": ["ts", "tsx", "js", "json"]
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
}
}

0 comments on commit 5301f08

Please sign in to comment.