Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR to fix #955 #966

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ bin/

*.swp
src - Kopie
/node_modules
3 changes: 2 additions & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ The structure of PuzzleScript is the following:
`./compile.js` uses [node](https://nodejs.org). So first off you have to install that. Then you need to install the packages that it uses:

```
npm i web-resource-inliner ncp rimraf compress-images gifsicle@5.3.0 glob concat ycssmin terser html-minifier-terser gzipper
node install
```

The specific packages and versions are now in `package.json`.
Then you should be able to compile the site (outputted to the `./bin/` directory) with

```
Expand Down
2 changes: 1 addition & 1 deletion compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ creates a highly compressed release build in bin of the contents of src

packages used:

npm i rimraf compress-images web-resource-inliner ncp gifsicle@5.3.0 concat ycssmin terser gzipper html-minifier-terser glob
npm i rimraf compress-images web-resource-inliner ncp gifsicle@5.3.0 concat ycssmin terser gzipper html-minifier-terser glob@8
*/

const fs = require("fs");
Expand Down
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"dependencies": {
"compress-images": "^2.0.5",
"concat": "^1.0.3",
"gifsicle": "^5.3.0",
"glob": "^8.1.0",
"gzipper": "^7.2.0",
"html-minifier-terser": "^7.2.0",
"ncp": "^2.0.0",
"rimraf": "^3.0.2",
"terser": "^5.17.1",
"web-resource-inliner": "^6.0.1",
"ycssmin": "^1.0.1"
}
}