Skip to content
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.

Commit

Permalink
Merge af05778 into a847b2b
Browse files Browse the repository at this point in the history
  • Loading branch information
ndaidong committed May 28, 2020
2 parents a847b2b + af05778 commit 74973e9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
19 changes: 10 additions & 9 deletions package.json
@@ -1,5 +1,5 @@
{
"version": "2.0.1",
"version": "2.0.2",
"name": "webrender",
"homepage": "https://www.npmjs.com/package/webrender",
"description": "Run live web and build static site using pure HTML/JS/CSS, with PostCSS, Rollup",
Expand All @@ -22,28 +22,29 @@
"posttest": "rm -rf ./outputs"
},
"dependencies": {
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"@rollup/plugin-strip": "^1.3.2",
"autoprefixer": "^9.7.6",
"bellajs": "^8.0.2",
"@rollup/plugin-commonjs": "^12.0.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"@rollup/plugin-strip": "^1.3.3",
"autoprefixer": "^9.8.0",
"bellajs": "^9.1.0",
"cheerio": "^1.0.0-rc.3",
"clean-css": "^4.2.3",
"cors": "^2.8.5",
"debug": "^4.1.1",
"express": "^4.17.1",
"html-minifier": "^4.0.0",
"minimist": "^1.2.5",
"postcss": "^7.0.29",
"postcss": "^7.0.31",
"postcss-custom-media": "^7.0.8",
"postcss-custom-properties": "^9.1.1",
"postcss-import": "^12.0.1",
"postcss-nested": "^4.2.1",
"postcss-short": "^5.0.0",
"pretty": "^2.0.0",
"rollup": "^2.8.2",
"rollup": "^2.11.2",
"rollup-plugin-cleanup": "^3.1.1",
"strip-css-comments": "^4.1.0",
"terser": "^4.6.13"
"terser": "^4.7.0"
},
"devDependencies": {
"coveralls": "^3.1.0",
Expand Down
2 changes: 2 additions & 0 deletions scripts/run.js
Expand Up @@ -4,6 +4,7 @@ const {existsSync, lstatSync, readFileSync} = require('fs');

const {genid} = require('bellajs');
const express = require('express');
const cors = require('cors');

const parseJS = require('./parseJS');
const parseCSS = require('./parseCSS');
Expand All @@ -29,6 +30,7 @@ const run = (src) => {
const revision = genid(24);

const app = express();
app.use(cors());

app.get('*', async (req, res, next) => {
const endpoint = req.path;
Expand Down

0 comments on commit 74973e9

Please sign in to comment.