Skip to content

Instantly share code, notes, and snippets.

@natedunn
Forked from zkat/index.js
Last active January 24, 2019 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save natedunn/e7cb07ef3f20057c043663eae0764635 to your computer and use it in GitHub Desktop.
Save natedunn/e7cb07ef3f20057c043663eae0764635 to your computer and use it in GitHub Desktop.
Press / Tailwind

Pass this URL to npx to help with Press.css & Tailwind setup.

{
"copyFiles": [
{
"from": "node_modules/press-css/index.html",
"to": "index.html"
}
]
}
#!/usr/bin/env node
function execute(command) {
const exec = require('child_process').exec
exec(command, (err, stdout, stderr) => {
process.stdout.write(stdout)
})
}
execute('npm i -D tailwindcss frontiersusa/press-css#v5.0.0 && npm i -g copyfiles && copyfiles "./node_modules/press-css/tailwind.js" "./" -f -E -V')
{
"name": "npx-is-cool",
"version": "0.0.0",
"bin": "./index.js",
"dependencies": {
"copy-files-from-to" : "^1.0.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment