diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 40b878d..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-node_modules/
\ No newline at end of file
diff --git a/.npmignore b/.npmignore
deleted file mode 100644
index 41f7ade..0000000
--- a/.npmignore
+++ /dev/null
@@ -1,2 +0,0 @@
-node_modules/
-test/
\ No newline at end of file
diff --git a/README.md b/README.md
deleted file mode 100644
index 9651c89..0000000
--- a/README.md
+++ /dev/null
@@ -1,91 +0,0 @@
-postcss-spiffing
----
-> My hands are of your colour, but I shame
-To wear a heart so white.
-\- William Shakespeare, *Macbeth*
-
-Shakespeare wouldn't have settled for using "color" rather than "colour" in CSS, and neither should you! He would've recognised that in doing so, he would've comprised the whole integrity of his writing.
-
-Write CSS using proper British English anywhere with `postcss-spiffing`.
-
-The main differences between this and `spiffing` by [muan](https://github.com/muan), are that this integrates with `postcss` and does not use regular expressions.
-
-### Install
-```bash
-npm install postcss-spiffing --save-dev
-```
-
-### Example
-```css
-/* Your well-spelt CSS */
-
-body {
- background-colour: grey;
- transparency: 0.3;
- text-align: centre;
- text-transform: capitalise;
- border: 1px solid grey;
-}
-
-span {
- font-weight: plump;
-}
-
-.frame {
- background-photograph: url("/queen.png") !please;
-}
-
-.hello {
- content: "subjects";
- colour: grey;
-}
-```
-
-will go to:
-
-```css
-body {
- background-color: gray;
- opacity: 0.7;
- text-align: center;
- text-transform: capitalize;
- border: 1px solid gray;
-}
-
-span {
- font-weight: bold;
-}
-
-.frame {
- background-image: url("/queen.png") !important;
-}
-
-.hello {
- content: "subjects";
- color: gray;
-}
-```
-
-### Use
-```js
-var postcss = require("postcss");
-var spiffing = require("postcss-spiffing");
-var fs = require("fs");
-
-var css = fs.readFileSync("random.css");
-
-console.log(postcss(spiffing()).process(css).css);
-```
-
-To use this with `gulp`, use [gulp-postcss](https://github.com/w0rm/gulp-postcss).
-
-### Changes Applied
-1. `colour` goes to `color`
-2. `plump` goes to `bold`
-3. `capitalise` goes to `capitalize`
-4. `!please` goes to `!important`
-5. `centre` goes to `center`
-6. `grey` goes to `gray`
-7. `background-photograph` goes to `background-image` (`list-style-photograph` is supported too)
-8. `transparency` goes to `opacity` (since transparency is the opposite of opacity it becomes (1-n))
-9. `storey` goes to `z-index` (`ground` equals 1 and so on)
diff --git a/index.js b/index.js
deleted file mode 100644
index 5ea7564..0000000
--- a/index.js
+++ /dev/null
@@ -1,55 +0,0 @@
-var postcss = require("postcss");
-
-module.exports = postcss.plugin("postcss-spiffing", function(opts) {
- return function(css) {
- css.walkDecls(function(decl) {
- decl.prop = decl.prop.replace(/colour/g, "color").replace(/photograph/g, "image");
- if (decl.prop === "font-weight" && decl.value === "plump") {
- decl.value = "bold";
- } else if (decl.prop === "transparency") {
- decl.prop = "opacity";
-
- if (Number(decl.value) == decl.value && (parseFloat(decl.value) <= 1 && parseFloat(decl.value) >= 0)) {
- decl.value = (1 - parseFloat(decl.value)).toFixed((Number(decl.value) + "").replace(".", "").length - 1);
- }
- } else if (decl.prop === "text-transform" && decl.value === "capitalise") {
- decl.value = "capitalize";
- } else if (decl.prop === "storey") {
- decl.prop = "z-index";
-
- if (decl.value === "ground") {
- decl.value = "1";
- } else {
- decl.value = Number(decl.value) + 1 + "";
- }
- }
-
- if (decl.value.match(/!please$/)) {
- decl.value = decl.value.substring(0, decl.value.length - 7).trim();
- decl.important = true;
- }
-
- if (decl.prop !== "content") {
- decl.value = decl.value.split(" ").map(function(i) {
- if (i === "centre") {
- return "center";
- }
-
- if (i === "grey") {
- return "gray";
- }
-
- return i;
- }).join(" ");
- }
-
- decl.value = decl.value.replace(/(var\(--[^\)]*)colour([^\)]*\))/g, "$1color$2");
- });
-
- css.walkAtRules(function(rule) {
- if (rule.name === "medium") {
- rule.name = "media";
- }
- });
- }
-});
diff --git a/package.json b/package.json
deleted file mode 100644
index 77a9f58..0000000
--- a/package.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "name": "postcss-spiffing",
- "version": "0.1.0",
- "description": "PostCSS plugin to use British English",
- "main": "index.js",
- "keywords": [
- "spiffing",
- "british english",
- "spelling",
- "css",
- "postcss",
- "postcssplugin"
- ],
- "author": "Hashan Punchihewa (hashanp.divshot.io)",
- "license": "MIT",
- "dependencies": {
- "postcss": "^5.0.19"
- },
- "repository": {
- "type": "git",
- "url": "git@github.com:HashanP/postcss-spiffing.git"
- },
- "devDependencies": {
- "expect.js": "^0.3.1",
- "mocha": "^2.4.5",
- "postcss": "^5.0.19"
- },
- "scripts": {
- "test": "mocha"
- }
-}
diff --git a/test/expected.css b/test/expected.css
deleted file mode 100644
index 1742304..0000000
--- a/test/expected.css
+++ /dev/null
@@ -1,44 +0,0 @@
-:root {
- --color-green: #0f0;
-}
-
-body {
- background-color: gray !important;
- opacity: 0.7;
- color: var(--color-green);
- text-align: center;
- justify-content: center;
- align-items: center;
- align-content: center;
- align-self: center;
- background-position: top center;
- font-weight: bold;
- text-transform: capitalize;
- border: 1px solid gray;
- z-index: 1;
-}
-
-.frame {
- background-image: url("/queen.png") !important;
- z-index: 2;
-}
-
-.background-test {
- background: gray url("/grey.png") top center;
- z-index: -9;
-}
-
-li {
- list-style-image: url("photograph.jpg");
-}
-
-@media screen and (min-width: 300px) {
- .hello {
- content: "subjects";
- color: gray;
- }
-
- .hello::after {
- content: "centre";
- }
-}
diff --git a/test/source.css b/test/source.css
deleted file mode 100644
index 0bbf8f8..0000000
--- a/test/source.css
+++ /dev/null
@@ -1,44 +0,0 @@
-:root {
- --colour-green: #0f0;
-}
-
-body {
- background-colour: grey !please;
- transparency: 0.3;
- colour: var(--colour-green);
- text-align: centre;
- justify-content: centre;
- align-items: centre;
- align-content: centre;
- align-self: centre;
- background-position: top centre;
- font-weight: plump;
- text-transform: capitalise;
- border: 1px solid grey;
- storey: ground;
-}
-
-.frame {
- background-photograph: url("/queen.png") !please;
- storey: 1;
-}
-
-.background-test {
- background: grey url("/grey.png") top centre;
- storey: -10;
-}
-
-li {
- list-style-photograph: url("photograph.jpg");
-}
-
-@medium screen and (min-width: 300px) {
- .hello {
- content: "subjects";
- color: grey;
- }
-
- .hello::after {
- content: "centre";
- }
-}
diff --git a/test/test.js b/test/test.js
deleted file mode 100644
index 6bffdf1..0000000
--- a/test/test.js
+++ /dev/null
@@ -1,16 +0,0 @@
-var postcss = require("postcss")
- expect = require("expect.js"),
- fs = require("fs"),
- path = require("path"),
- plugin = require("../");
-
-
-describe("Main test", function() {
- it("should translate correctly", function() {
- var source = fs.readFileSync(path.join(__dirname, "source.css"), "utf-8"),
- expected = fs.readFileSync(path.join(__dirname, "expected.css"), "utf-8"),
- translated = postcss([ plugin() ]).process(source).css;
-
- expect(translated).to.eql(expected);
- });
-});