Skip to content

Commit

Permalink
convert filters to multiple exports
Browse files Browse the repository at this point in the history
  • Loading branch information
Zyie committed Jan 17, 2024
1 parent dcffaba commit 7bc0a68
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 19 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ node_modules
docs
dist
lib
deploy
tools/demo/index.js
tools/demo/index.js.map
.DS_Store
Expand Down
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,16 @@
"lint:fix": "xs lint --fix",
"types": "xs types",
"build": "xs build && npm run build:demo && npm run build:screenshots",
"build:screenshots": "electron main.js",
"build:screenshots": "electron tools/screenshots/main.js",
"build:demo": "rollup -c rollup.config.demo.js",
"docs": "xs docs",
"deploy:ci": "xs build,docs",
"postdeploy:ci": "mkdirp deploy && copyfiles \"{dist,tools,docs}/**\" deploy && copyfiles -f dist/* deploy",
"postdeploy:ci": "mkdirp deploy && run-p copy:*",
"copy:dist": "copyfiles -u 1 \"dist/**/*\" deploy/",
"copy:docs": "copyfiles \"{docs}/**\" deploy",
"copy:screenshots": "copyfiles tools/screenshots/dist/* deploy",
"copy:demo": "copyfiles -f tools/demo/index.* deploy/demo",
"copy:demoimages": "copyfiles -f tools/demo/images/* deploy/demo/images",
"deploy": "xs deploy",
"release": "xs release",
"publish-ci": "npm publish"
Expand Down
16 changes: 0 additions & 16 deletions tools/screenshots/package.json

This file was deleted.

2 changes: 1 addition & 1 deletion tools/screenshots/renderer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const PIXI = require('pixi.js');

window.PIXI = PIXI;
const filters = require('../../src/index');
const filters = require('../../lib');
const assert = require('assert');
const config = require('./config.json');
const base64ToImage = require('base64-to-image');
Expand Down

0 comments on commit 7bc0a68

Please sign in to comment.