@ff0000-ad-tech/cs-plugin-particle-simulator
v1.1.3
Published
Ad Particles simulator
Downloads
4
Readme
AdTech - Particles (ES6 version)
This is an updated version Particle Simulator for ad-particles to work with #FF0000 Ad Tech ES6 pipeline. The Simulator provides a visual interface to tweak ad-particles effects in real time. There are more complex and dynamic effects can be achieved programmatically. The simulator can be installed in Creative Server. For details, please see Confluence doc.
Installation
npm install
Development
To test the dev version of the project, you need to:
Run a creative server that has Particle Simulator plugin installed.
Have a
.env
file at the root of the project. In the.env
file, addTARGET_DEV_PATH=[path to the cs-plugin-particle-simulator in node modules folder in creative server]
Run
npm run dev
All the source files are in
source
folder. Node API is undersource/lib
Webpack will start writing files into the directory you specified. You should be able to refresh the simulator in Creative Server to see the changes.
Sometimes Webpack watch copy process doesn't seem to pick up new files, if that happens, just restart
npm run dev
Build the project for publish
npm run build
The built version will be in the dist
folder. You should test installing the feature branch in Creative Server before merging it into master
. That is it!