Skip to content

Commit

Permalink
Clean up dev dependencies (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
pshrmn committed Sep 9, 2018
1 parent da2cfed commit 36ed4f5
Show file tree
Hide file tree
Showing 46 changed files with 538 additions and 4,189 deletions.
2,645 changes: 115 additions & 2,530 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions package.json
Expand Up @@ -9,7 +9,6 @@
"clean": "lerna clean",
"postinstall": "npm run bootstrap",
"precommit": "pretty-quick --staged",
"prettier": "lerna run prettier",
"versions": "lerna publish --skip-git --skip-npm",
"test": "lerna run test",
"coverage": "lerna run coverage"
Expand All @@ -24,17 +23,20 @@
"npm": "^5.0.0"
},
"devDependencies": {
"gzip-size": "^3.0.0",
"@types/node": "^10.9.4",
"husky": "^0.14.3",
"lerna": "^2.9.0",
"prettier": "^1.10.2",
"pretty-bytes": "^4.0.2",
"pretty-quick": "^1.2.2",
"rimraf": "^2.6.2",
"rollup": "^0.65.0",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^9.1.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-size-snapshot": "^0.6.1",
"rollup-plugin-uglify": "^2.0.1"
"rollup-plugin-typescript2": "^0.17.0",
"rollup-plugin-uglify": "^2.0.1",
"typescript": "^3.0.3"
}
}
2 changes: 1 addition & 1 deletion packages/interactions/route-active/jest.config.js
Expand Up @@ -14,7 +14,7 @@ module.exports = {
moduleFileExtensions: ["ts", "js"],
testMatch: ["**/tests/**/*.spec.ts"],
transform: {
"\\.ts$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
"\\.ts$": "ts-jest"
},
globals: {
"ts-jest": {
Expand Down
13 changes: 2 additions & 11 deletions packages/interactions/route-active/package.json
Expand Up @@ -12,12 +12,10 @@
"*.md"
],
"scripts": {
"prebuild": "rimraf dist & rimraf types",
"build": "node ./scripts/build",
"coverage": "jest --coverage",
"prepare": "npm run build",
"prepublishOnly": "npm test",
"prettier": "prettier --single-quote --write \"{src,tests}/**/*.ts\"",
"test": "jest && TEST_ENV=cjs jest && TEST_ENV=umd jest"
},
"repository": {
Expand All @@ -33,18 +31,11 @@
"author": "Paul Sherman",
"license": "MIT",
"dependencies": {
"@curi/router": "^1.0.0-beta.43",
"rollup-plugin-size-snapshot": "^0.6.1"
"@curi/router": "^1.0.0-beta.43"
},
"devDependencies": {
"@types/jest": "^22.0.1",
"@types/node": "^8.0.53",
"jest": "^22.1.1",
"prettier": "^1.10.2",
"rimraf": "^2.6.2",
"rollup": "^0.65.0",
"rollup-plugin-typescript2": "^0.14.0",
"ts-jest": "^21.2.3",
"typescript": "^3.0.1"
"ts-jest": "^21.2.3"
}
}
10 changes: 9 additions & 1 deletion packages/interactions/route-active/scripts/build.js
@@ -1,6 +1,14 @@
const rollupBuild = require("../../../../scripts/build");
const rimraf = require("rimraf");
const path = require("path");
const typescript = require("rollup-plugin-typescript2");

const rollupBuild = require("../../../../scripts/build");

const dist = path.join(__dirname, "..", "dist");
const types = path.join(__dirname, "..", "types");
rimraf.sync(dist);
rimraf.sync(types);

// don't bundle dependencies for es/cjs builds
const pkg = require("../package.json");
const deps = Object.keys(pkg.dependencies).map(key => key);
Expand Down
2 changes: 1 addition & 1 deletion packages/interactions/route-ancestors/jest.config.js
Expand Up @@ -14,7 +14,7 @@ module.exports = {
moduleFileExtensions: ["ts", "js"],
testMatch: ["**/tests/**/*.spec.ts"],
transform: {
"\\.ts$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
"\\.ts$": "ts-jest"
},
globals: {
"ts-jest": {
Expand Down
13 changes: 2 additions & 11 deletions packages/interactions/route-ancestors/package.json
Expand Up @@ -12,12 +12,10 @@
"*.md"
],
"scripts": {
"prebuild": "rimraf dist",
"build": "node ./scripts/build",
"coverage": "jest --coverage",
"prepare": "npm run build",
"prepublishOnly": "npm test",
"prettier": "prettier --single-quote --write \"{src,tests}/**/*.ts\"",
"test": "jest && TEST_ENV=cjs jest && TEST_ENV=umd jest"
},
"repository": {
Expand All @@ -34,18 +32,11 @@
"author": "Paul Sherman",
"license": "MIT",
"dependencies": {
"@curi/router": "^1.0.0-beta.43",
"rollup-plugin-size-snapshot": "^0.6.1"
"@curi/router": "^1.0.0-beta.43"
},
"devDependencies": {
"@types/jest": "^22.0.1",
"@types/node": "^8.0.53",
"jest": "^22.1.1",
"prettier": "^1.10.2",
"rimraf": "^2.6.2",
"rollup": "^0.65.0",
"rollup-plugin-typescript2": "^0.14.0",
"ts-jest": "^21.2.3",
"typescript": "^3.0.1"
"ts-jest": "^21.2.3"
}
}
10 changes: 9 additions & 1 deletion packages/interactions/route-ancestors/scripts/build.js
@@ -1,6 +1,14 @@
const rollupBuild = require("../../../../scripts/build");
const rimraf = require("rimraf");
const path = require("path");
const typescript = require("rollup-plugin-typescript2");

const rollupBuild = require("../../../../scripts/build");

const dist = path.join(__dirname, "..", "dist");
const types = path.join(__dirname, "..", "types");
rimraf.sync(dist);
rimraf.sync(types);

// don't bundle dependencies for es/cjs builds
const pkg = require("../package.json");
const deps = Object.keys(pkg.dependencies).map(key => key);
Expand Down
2 changes: 1 addition & 1 deletion packages/interactions/route-prefetch/jest.config.js
Expand Up @@ -14,7 +14,7 @@ module.exports = {
moduleFileExtensions: ["ts", "js"],
testMatch: ["**/tests/**/*.spec.ts"],
transform: {
"\\.ts$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
"\\.ts$": "ts-jest"
},
globals: {
"ts-jest": {
Expand Down
14 changes: 2 additions & 12 deletions packages/interactions/route-prefetch/package.json
Expand Up @@ -12,12 +12,10 @@
"*.md"
],
"scripts": {
"prebuild": "rimraf dist & rimraf types",
"build": "node ./scripts/build",
"coverage": "jest --coverage",
"prepare": "npm run build",
"prepublishOnly": "npm test",
"prettier": "prettier --single-quote --write \"{src,tests}/**/*.ts\"",
"test": "jest && TEST_ENV=cjs jest && TEST_ENV=umd jest"
},
"repository": {
Expand All @@ -35,19 +33,11 @@
"license": "MIT",
"dependencies": {
"@curi/router": "^1.0.0-beta.43",
"@hickory/root": "^1.0.0",
"rollup-plugin-size-snapshot": "^0.6.1"
"@hickory/root": "^1.0.0"
},
"devDependencies": {
"@types/jest": "^22.0.1",
"@types/node": "^8.0.53",
"jest": "^22.1.1",
"prettier": "^1.10.2",
"pretty-bytes": "^4.0.2",
"rimraf": "^2.6.2",
"rollup": "^0.65.0",
"rollup-plugin-typescript2": "^0.14.0",
"ts-jest": "^21.2.3",
"typescript": "^3.0.1"
"ts-jest": "^21.2.3"
}
}
10 changes: 9 additions & 1 deletion packages/interactions/route-prefetch/scripts/build.js
@@ -1,6 +1,14 @@
const rollupBuild = require("../../../../scripts/build");
const rimraf = require("rimraf");
const path = require("path");
const typescript = require("rollup-plugin-typescript2");

const rollupBuild = require("../../../../scripts/build");

const dist = path.join(__dirname, "..", "dist");
const types = path.join(__dirname, "..", "types");
rimraf.sync(dist);
rimraf.sync(types);

// don't bundle dependencies for es/cjs builds
const pkg = require("../package.json");
const deps = Object.keys(pkg.dependencies).map(key => key);
Expand Down
2 changes: 1 addition & 1 deletion packages/react-dom/jest.config.js
Expand Up @@ -14,7 +14,7 @@ module.exports = {
moduleFileExtensions: ["ts", "tsx", "js", "jsx"],
testMatch: ["**/tests/**/*.spec.tsx"],
transform: {
"\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
"\\.tsx?$": "ts-jest"
},
globals: {
"ts-jest": {
Expand Down
13 changes: 2 additions & 11 deletions packages/react-dom/package.json
Expand Up @@ -13,12 +13,10 @@
"*.md"
],
"scripts": {
"prebuild": "rimraf dist & rimraf types",
"build": "node ./scripts/build",
"coverage": "jest --coverage",
"prepare": "npm run build",
"prepublishOnly": "npm test",
"prettier": "prettier --single-quote --write \"{src,tests}/**/*.{ts,tsx}\"",
"test": "jest && TEST_ENV=cjs jest && TEST_ENV=umd jest"
},
"repository": {
Expand All @@ -40,22 +38,15 @@
"dependencies": {
"@curi/react-universal": "^1.0.0-beta.3",
"@curi/router": "^1.0.0-beta.43",
"@types/react": "^16.3.11",
"rollup-plugin-size-snapshot": "^0.6.1"
"@types/react": "^16.3.11"
},
"devDependencies": {
"@hickory/in-memory": "^1.0.0",
"@types/jest": "^22.0.1",
"@types/node": "^8.0.53",
"@types/react-dom": "^16.0.5",
"jest": "^22.1.1",
"prettier": "^1.10.2",
"react": "^16.3.2",
"react-dom": "^16.3.2",
"rimraf": "^2.6.2",
"rollup": "^0.65.0",
"rollup-plugin-typescript2": "^0.14.0",
"ts-jest": "^21.2.3",
"typescript": "^3.0.1"
"ts-jest": "^21.2.3"
}
}
10 changes: 9 additions & 1 deletion packages/react-dom/scripts/build.js
@@ -1,6 +1,14 @@
const rollupBuild = require("../../../scripts/build");
const rimraf = require("rimraf");
const path = require("path");
const typescript = require("rollup-plugin-typescript2");

const rollupBuild = require("../../../scripts/build");

const dist = path.join(__dirname, "..", "dist");
const types = path.join(__dirname, "..", "types");
rimraf.sync(dist);
rimraf.sync(types);

// don't bundle dependencies for es/cjs builds
const pkg = require("../package.json");
const deps = Object.keys(pkg.dependencies).map(key => key);
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/jest.config.js
Expand Up @@ -12,7 +12,7 @@ module.exports = {
moduleFileExtensions: ["ts", "tsx", "js", "jsx"],
testMatch: ["**/tests/**/*.spec.tsx"],
transform: {
"\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js",
"\\.tsx?$": "ts-jest",
"\\.jsx?$": "<rootDir>/node_modules/babel-jest"
},
transformIgnorePatterns: ["node_modules/(?!react-native)/"],
Expand Down

0 comments on commit 36ed4f5

Please sign in to comment.