Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

Commit 05eacd9

Browse files
authored
Merge pull request #2 from redux-offline/chore/devDeps
chore(common): Hoist shared devDependencies to root
2 parents 4d9cbb7 + 881cc0b commit 05eacd9

File tree

5 files changed

+1005
-86
lines changed

5 files changed

+1005
-86
lines changed

.babelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"presets": [
33
"env",
4-
"stage-3"
4+
"stage-3",
5+
"flow"
56
],
67
"plugins": [
78
["transform-class-properties", { "spec": true }],

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/packages/**/node_modules/

package.json

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
{
2-
"devDependencies": {
3-
"lerna": "^2.11.0"
4-
}
2+
"scripts": {
3+
"bootstrap": "lerna bootstrap",
4+
"clean": "lerna clean",
5+
"flow": "flow",
6+
"lint": "eslint ./packages/** -c ./.eslintrc.js",
7+
"test": "jest --coverage"
8+
},
9+
"devDependencies": {
10+
"babel-cli": "^6.26.0",
11+
"babel-core": "^6.26.0",
12+
"babel-eslint": "^7.2.3",
13+
"babel-plugin-transform-class-properties": "^6.24.1",
14+
"babel-plugin-transform-flow-strip-types": "^6.18.0",
15+
"babel-plugin-transform-runtime": "^6.23.0",
16+
"babel-preset-env": "^1.6.1",
17+
"babel-preset-flow": "^6.23.0",
18+
"babel-preset-latest": "^6.24.1",
19+
"babel-preset-stage-3": "^6.24.1",
20+
"eslint": "^4.6.1",
21+
"eslint-config-airbnb-base": "^12.0.0",
22+
"eslint-config-prettier": "^2.4.0",
23+
"eslint-plugin-babel": "^4.1.1",
24+
"eslint-plugin-import": "^2.7.0",
25+
"eslint-plugin-prettier": "^2.2.0",
26+
"flow-bin": "^0.76.0",
27+
"jest": "^19.0.2",
28+
"lerna": "^2.11.0",
29+
"prettier": "^1.6.1"
30+
}
531
}

packages/smart-queue/package.json

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33
"version": "1.0.0",
44
"description": "queue plugins",
55
"main": "index.js",
6-
"scripts": {
7-
"lint": "eslint smart-queue/",
8-
"prettier": "eslint smart-queue --fix",
9-
"test": "jest"
10-
},
6+
"scripts": {},
117
"jest": {
128
"rootDir": "smart-queue"
139
},
@@ -20,24 +16,5 @@
2016
"bugs": {
2117
"url": "https://github.com/redux-offline/queue/issues"
2218
},
23-
"homepage": "https://github.com/redux-offline/queue#readme",
24-
"devDependencies": {
25-
"babel-preset-env": "^1.6.1",
26-
"babel-cli": "^6.26.0",
27-
"babel-core": "^6.26.0",
28-
"babel-eslint": "^7.2.3",
29-
"babel-plugin-transform-class-properties": "^6.24.1",
30-
"babel-plugin-transform-flow-strip-types": "^6.18.0",
31-
"babel-plugin-transform-runtime": "^6.23.0",
32-
"babel-preset-latest": "^6.24.1",
33-
"babel-preset-stage-3": "^6.24.1",
34-
"eslint": "^4.6.1",
35-
"eslint-config-airbnb-base": "^12.0.0",
36-
"eslint-config-prettier": "^2.4.0",
37-
"eslint-plugin-babel": "^4.1.1",
38-
"eslint-plugin-import": "^2.7.0",
39-
"eslint-plugin-prettier": "^2.2.0",
40-
"jest": "^19.0.2",
41-
"prettier": "^1.6.1"
42-
}
19+
"homepage": "https://github.com/redux-offline/queue#readme"
4320
}

0 commit comments

Comments
 (0)