Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
language: node_js

node_js:
- 7

after_success: npm run test:coverage
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Styled Components on top of JSS

[![Travis branch](https://img.shields.io/travis/cssinjs/styled-jss/master.svg?style=flat)](https://travis-ci.org/cssinjs/styled-jss)
[![Coverage Status branch](https://img.shields.io/coveralls/cssinjs/styled-jss/master.svg?style=flat)](https://img.shields.io/coveralls/cssinjs/styled-jss/master.svg?branch=master)
[![npm version](https://img.shields.io/npm/v/styled-jss.svg?style=flat)](https://www.npmjs.com/package/styled-jss)
[![npm license](https://img.shields.io/npm/l/styled-jss.svg?style=flat)](https://www.npmjs.com/package/styled-jss)

## Install

This has peer dependencies of `react` and `react-dom`, which will have to be installed as well.
Expand Down
22 changes: 13 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,24 @@
"name": "styled-jss",
"version": "0.5.0",
"description": "Styled Components on top of JSS.",
"main": "lib/index.js",
"main": "index.js",
"scripts": {
"clean": "rimraf lib/*",
"lint": "eslint src",
"lint:staged": "lint-staged",
"flow": "flow check",
"test": "jest",
"test:watch": "npm test -- --watch",
"test:coverage": "npm test -- --coverage",
"test:coverage": "npm test -- --coverage && npm run coveralls",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"prebuild": "npm run clean && npm run flow && npm run lint && npm run test:coverage",
"build": "babel src --out-dir lib --ignore tests",
"postbuild": "npm run flow:csrc && copyfiles -e '**/tests/*' ./*.* LICENSE -a -f lib",
"flow:csrc": "flow-copy-source -i '**/tests/*' src lib",
"flow:typed": "flow-typed install",
"flow:stub": "flow-typed create-stub",
"preversion": "npm run build",
"postversion": "git push --follow-tags"
"release": "npm run build && git push --follow-tags && npm publish lib"
},
"files": [
"src",
"lib"
],
"repository": {
"type": "git",
"url": "git+https://github.com/cssinjs/styled-jss.git"
Expand Down Expand Up @@ -57,13 +55,16 @@
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.23.0",
"copyfiles": "^1.2.0",
"coveralls": "^2.13.0",
"eslint": "^3.13.0",
"eslint-config-airbnb": "^14.1.0",
"eslint-config-jss": "^3.0.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-react": "^6.10.3",
"flow-bin": "^0.44.2",
"flow-copy-source": "^1.1.0",
"flow-typed": "^2.0.0",
"jest": "^18.1.0",
"lint-staged": "^3.4.0",
Expand All @@ -82,5 +83,8 @@
"pre-commit": [
"lint:staged",
"test"
]
],
"jest": {
"rootDir": "src"
}
}
Loading