Skip to content

Commit 0143a81

Browse files
Add circle.yml
1 parent 2393a86 commit 0143a81

File tree

3 files changed

+133
-137
lines changed

3 files changed

+133
-137
lines changed

circle.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
machine:
2+
node:
3+
version: 7
4+
5+
dependencies:
6+
pre:
7+
- curl -o- -L https://yarnpkg.com/install.sh | bash
8+
override:
9+
- yarn install
10+
11+
test:
12+
override:
13+
- yarn lint
14+
- yarn test

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"clean": "rimraf lib",
1515
"lint": "eslint ./src/*",
1616
"test": "jest",
17-
"prepublish": "npm run lint && npm run test && npm run build"
17+
"prepublish": "yarn lint && yarn test && yarn build"
1818
},
1919
"keywords": [
2020
"react",
@@ -46,10 +46,9 @@
4646
"react-dom": "15.5.4",
4747
"rimraf": "2.4.3"
4848
},
49-
"dependencies": {
50-
},
49+
"dependencies": {},
5150
"peerDependencies": {
52-
"react": ">=0.14.9",
53-
"prop-types": ">=15"
51+
"prop-types": ">=15",
52+
"react": ">=0.14.9"
5453
}
5554
}

0 commit comments

Comments
 (0)