Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
Reorganize package.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Dec 16, 2019
1 parent a25dbde commit 0813fc5
Show file tree
Hide file tree
Showing 7 changed files with 61 additions and 61 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Node
on: [push, pull_request]
env:
CI: true

jobs:
build:
name: v${{ matrix.node-version }} @ ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node-version: [10, 12]
os: [ubuntu-latest, macOS-latest, windows-latest]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- name: Run tests
run: npm run test
5 changes: 0 additions & 5 deletions .gitignore

This file was deleted.

13 changes: 0 additions & 13 deletions .npmignore

This file was deleted.

5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2012-2019 Paul Miller (https://paulmillr.com)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
30 changes: 2 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
# clean-css-brunch

Adds [clean-css](https://github.com/GoalSmashers/clean-css) support to
[brunch](http://brunch.io).
[brunch](https://brunch.io).

The plugin will minify your CSS files.

## Usage

Install the plugin via npm with `npm install --save-dev clean-css-brunch`.

Or, do manual install:

* Add `"clean-css-brunch": "x.y.z"` to `package.json` of your brunch app. Pick a plugin version that corresponds to your minor (y) brunch version.
* If you want to use git version of plugin, add
`"clean-css-brunch": "git+ssh://git@github.com:brunch/clean-css-brunch.git"`.
Install the plugin via npm with `npm install -S clean-css-brunch`.

## Options

Expand Down Expand Up @@ -47,23 +41,3 @@ module.exports = {
## License

The MIT License (MIT)

Copyright (c) 2012-2017 Paul Miller (http://paulmillr.com)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
24 changes: 14 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,31 @@
{
"name": "clean-css-brunch",
"version": "2.11.0",
"version": "3.0.0-pre",
"description": "Adds CleanCSS support to brunch.",
"author": "Paul Miller (http://paulmillr.com/)",
"author": "Paul Miller (https://paulmillr.com/)",
"homepage": "https://github.com/brunch/clean-css-brunch",
"license": "MIT",
"scripts": {
"test": "eslint index.js && mocha"
},
"repository": {
"type": "git",
"url": "git@github.com:brunch/clean-css-brunch.git"
},
"scripts": {
"test": "eslint index.js && mocha"
},
"files": ["index.js"],
"dependencies": {
"clean-css": "~4.1"
"clean-css": "~4.2"
},
"devDependencies": {
"chai": "^3.4.1",
"eslint": "^3.12.2",
"eslint-config-brunch": "^1",
"mocha": "^2.3.4"
"chai": "^4.2",
"eslint": "^6.7",
"eslint-config-brunch": "^1.2",
"mocha": "^6.2"
},
"eslintConfig": {
"extends": "brunch"
},
"engines": {
"node": ">= 10.16"
}
}

0 comments on commit 0813fc5

Please sign in to comment.