Comparing version 0.1.2 to 0.1.3
11
build.js
@@ -8,2 +8,4 @@ #!/usr/bin/env node | ||
const postcss = require("postcss"); | ||
const glob = require("glob"); | ||
const path = require("path"); | ||
@@ -37,3 +39,9 @@ let id = 0; | ||
fs.copyFileSync("build/98.css", "docs/98.css"); | ||
glob("build/*", (err, files) => { | ||
if (!err) { | ||
files.forEach((srcFile) => | ||
fs.copyFileSync(srcFile, path.join("docs", path.basename(srcFile))) | ||
); | ||
} else throw "error globbing build directory."; | ||
}); | ||
fs.writeFileSync( | ||
@@ -50,2 +58,3 @@ "docs/index.html", | ||
.use(require("postcss-calc")) | ||
.use(require("postcss-copy")({ dest: "build", template: "[name].[ext]" })) | ||
.process(fs.readFileSync("style.css"), { | ||
@@ -52,0 +61,0 @@ from: "style.css", |
{ | ||
"name": "98.css", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "A design system for building faithful recreations of old UIs", | ||
@@ -30,5 +30,7 @@ "main": "build/98.css", | ||
"ejs": "^3.0.2", | ||
"glob": "^7.1.6", | ||
"highlight.js": "^9.18.1", | ||
"mkdirp": "^1.0.4", | ||
"postcss-calc": "^7.0.2", | ||
"postcss-copy": "^7.1.0", | ||
"postcss-css-variables": "^0.14.0", | ||
@@ -35,0 +37,0 @@ "postcss-inline": "^1.2.0", |
@@ -7,3 +7,3 @@ ## 98.css | ||
98.css is a CSS file that takes semantic HTML and makes it look pretty. It does not ship with any JavaScript, so it is compatible with your frontend framework of choice. Here is an example of [98.css being used with React](https://codesandbox.io/s/objective-chandrasekhar-t5t6h?file=/src/index.js). | ||
98.css is a CSS file that takes semantic HTML and makes it look pretty. It does not ship with any JavaScript, so it is compatible with your frontend framework of choice. | ||
@@ -38,4 +38,2 @@ ### Installation / Usage | ||
Here is an example of [98.css being used with React](https://codesandbox.io/s/objective-chandrasekhar-t5t6h?file=/src/index.js), and [an example with vanilla JavaScript](https://codesandbox.io/s/late-sound-miqho?file=/index.html). | ||
Alternatively, you can grab 98.css for [the releases page](https://github.com/jdan/98.css/releases) or [npm](https://www.npmjs.com/package/98.css). | ||
@@ -47,4 +45,6 @@ | ||
Then reference [`build/98.css`](https://github.com/jdan/98.css/blob/master/build/98.css) however you see fit. Refer to the [documentation page](https://jdan.github.io/98.css/) for specific instructions on this library's components. | ||
Here is an example of [98.css being used with React](https://codesandbox.io/s/objective-chandrasekhar-t5t6h?file=/src/index.js), and [an example with vanilla JavaScript](https://codesandbox.io/s/late-sound-miqho?file=/index.html). | ||
Refer to the [documentation page](https://jdan.github.io/98.css/) for specific instructions on this library's components. | ||
### Issues, Contributing, etc. | ||
@@ -51,0 +51,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
259262
48
1672
10
2
70