Skip to content

Commit

Permalink
Merge branch 'release/3.3.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
maoberlehner committed Dec 12, 2017
2 parents a9084b3 + ae8ec18 commit 6eb3821
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 21 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ node_js:
script:
- npm run build
- npm run lint
- npm test
- npm test -- --maxWorkers=4
- npm run coveralls
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# css-selector-extract
[![Build Status](https://travis-ci.org/maoberlehner/css-selector-extract.svg?branch=master)](https://travis-ci.org/maoberlehner/css-selector-extract)
[![Coverage Status](https://coveralls.io/repos/github/maoberlehner/css-selector-extract/badge.svg?branch=master)](https://coveralls.io/github/maoberlehner/css-selector-extract?branch=master)
[![GitHub stars](https://img.shields.io/github/stars/maoberlehner/css-selector-extract.svg?style=social&label=Star)](https://github.com/maoberlehner/css-selector-extract)

With selector extracting, it is possible to extract certain CSS selectors (RegEx can be used to match selectors) from CSS code. This is especially useful if you want to extract only a few CSS classes from a huge library or framework.

Expand Down
60 changes: 46 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 10 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"keywords": [
"CSS"
],
"version": "3.3.5",
"version": "3.3.6",
"author": "Markus Oberlehner",
"homepage": "https://github.com/maoberlehner/css-selector-extract",
"license": "MIT",
Expand All @@ -13,6 +13,8 @@
"watch": "npm run clean && tsc -w",
"clean": "rimraf dist",
"lint": "tslint src/**/*.ts",
"coverage": "jest --coverage --maxWorkers=4",
"coveralls": "npm run coverage && cat coverage/lcov.info | coveralls",
"test": "jest",
"prepublishOnly": "npm run build"
},
Expand All @@ -27,15 +29,16 @@
"postcss": "^6.0.14"
},
"devDependencies": {
"@types/jest": "^21.1.7",
"@types/node": "^8.0.53",
"@types/jest": "^21.1.8",
"@types/node": "^8.0.58",
"bootstrap": "4.0.0-alpha.6",
"coveralls": "^3.0.0",
"jest": "^21.2.1",
"postcss-scss": "^1.0.2",
"rimraf": "^2.6.2",
"ts-jest": "^21.2.3",
"ts-jest": "^21.2.4",
"tslint": "^5.8.0",
"typescript": "^2.6.1"
"typescript": "^2.6.2"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand All @@ -47,6 +50,7 @@
"transform": {
"^.+\\.ts$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(js|ts)$"
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(js|ts)$",
"mapCoverage": true
}
}

0 comments on commit 6eb3821

Please sign in to comment.