diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..25c8fdb --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +node_modules +package-lock.json \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e6175ef --- /dev/null +++ b/.travis.yml @@ -0,0 +1,4 @@ +language: node_js +node_js: + - '8' + - '10' diff --git a/license b/license new file mode 100644 index 0000000..d81d966 --- /dev/null +++ b/license @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 Bart Veneman + +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. \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..4f5650d --- /dev/null +++ b/package.json @@ -0,0 +1,37 @@ +{ + "name": "distill-css", + "description": "PACKAGE_DESCRIPTION", + "version": "0.1.0", + "homepage": "https://www.projectwallace.com/oss", + "repository": "PACKAGE_REPOSITORY", + "issues": "PACKAGE_ISSUES", + "license": "MIT", + "author": "Bart Veneman", + "keywords": [ + "PACKAGE_KEYWORD" + ], + "scripts": { + "test": "xo && ava test" + }, + "files": [ + "src" + ], + "main": "src/index.js", + "engines": { + "node": ">=8.0" + }, + "xo": { + "prettier": true + }, + "devDependencies": { + "ava": "^1.3.1", + "chromium": "^2.1.0", + "create-test-server": "^2.4.0", + "prettier": "^1.16.4", + "puppeteer-core": "^1.13.0", + "xo": "^0.24.0" + }, + "dependencies": { + "puppeteer": "^1.13.0" + } +} diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..f4ecfd1 --- /dev/null +++ b/readme.md @@ -0,0 +1,94 @@ +
Extract all CSS from a given url, both server side and client side rendered.
+