Skip to content

Commit

Permalink
Update plugin organization
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathantneal committed Jun 29, 2017
1 parent bd71070 commit 867b221
Show file tree
Hide file tree
Showing 7 changed files with 73 additions and 167 deletions.
18 changes: 18 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# https://www.appveyor.com/docs/appveyor-yml

environment:
matrix:
- nodejs_version: 4.0

version: "{build}"
build: off
deploy: off

install:
- ps: Install-Product node $env:nodejs_version
- npm install --ignore-scripts

test_script:
- node --version
- npm --version
- cmd: "npm test"
8 changes: 4 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
root = true

[*]
indent_style = tab
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
end_of_line = lf
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.{json,yml}]
[*.{json,md,yml}]
indent_size = 2
indent_style = space
122 changes: 0 additions & 122 deletions .eslintrc

This file was deleted.

11 changes: 8 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
node_modules/
npm-debug.log
test/fixtures/*.actual.css
node_modules
.*
!.appveyor.yml
!.gitignore
!.tape.js
!.travis.yml
*.log*
*.actual.css
2 changes: 0 additions & 2 deletions .npmignore

This file was deleted.

4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ var processors = [
];

// load all plugins
module.exports = postcss.plugin('precss', function (options) {
options = options || {};
module.exports = postcss.plugin('precss', function (rawoptions) {
var options = rawoptions || {};

var instance = postcss();

Expand Down
75 changes: 41 additions & 34 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,25 @@
"name": "precss",
"version": "1.4.0",
"description": "Use Sass-like markup in your CSS",
"keywords": [
"postcss",
"css",
"postcss-plugin",
"sass",
"variables",
"conditionals",
"ifs",
"thens",
"elses",
"fors",
"nesteds",
"nestings",
"eaches",
"mixins",
"imports",
"extends",
"placeholders"
],
"author": "Jonathan Neal <jonathantneal@hotmail.com>",
"license": "CC0-1.0",
"repository": {
"type": "git",
"url": "https://github.com/jonathantneal/precss.git"
"repository": "jonathantneal/postcss-normalize",
"homepage": "https://github.com/jonathantneal/postcss-normalize#readme",
"bugs": "https://github.com/jonathantneal/postcss-normalize/issues",

This comment has been minimized.

Copy link
@RobLoach

RobLoach Jun 29, 2017

Contributor

Wrong repo links?

This comment has been minimized.

Copy link
@jonathantneal

jonathantneal Jun 29, 2017

Author Collaborator

Yea ... Lemme fix that.

This comment has been minimized.

Copy link
@jonathantneal

jonathantneal Jun 29, 2017

Author Collaborator

Fixed in a229fd8

"main": "index.js",
"files": [
"index.js"
],
"scripts": {
"clean": "git clean -X -d -f",
"prepublish": "npm test",
"test": "echo 'Running tests...'; npm run test:js && npm run test:tape",
"test:js": "eslint *.js --cache --ignore-pattern .gitignore",
"test:tape": "tape test/*.js | tap-spec"
},
"bugs": {
"url": "https://github.com/jonathantneal/precss/issues"
"engines": {
"node": ">=4.0.0"
},
"homepage": "https://github.com/jonathantneal/precss",
"dependencies": {
"postcss": "^6.0.3",
"postcss-advanced-variables": "1.2.2",
Expand All @@ -50,17 +40,34 @@
"postcss-selector-not": "^3.0.1"
},
"devDependencies": {
"eslint": "^1.7.3",
"eslint": "^4.1.1",
"eslint-config-dev": "2.0.0",
"fse": "^3.0.0",
"postcss-tape": "2.0.1",
"pre-commit": "^1.2.2",
"tap-spec": "^4.1.1",
"tape": "^4.7.0"
},
"scripts": {
"lint": "eslint . --ignore-path .gitignore",
"fixtures": "tape test/*.js | tap-spec",
"test": "npm run lint && npm run fixtures"
"eslintConfig": {
"extends": "dev"
},
"engines": {
"iojs": ">=2.0.0",
"node": ">=0.12.0"
}
"keywords": [
"postcss",
"css",
"postcss-plugin",
"sass",
"variables",
"conditionals",
"ifs",
"thens",
"elses",
"fors",
"nesteds",
"nestings",
"eaches",
"mixins",
"imports",
"extends",
"placeholders"
]
}

0 comments on commit 867b221

Please sign in to comment.