1.1.3 • Published 1 year ago

@ff0000-ad-tech/cs-plugin-particle-simulator v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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:

  1. Run a creative server that has Particle Simulator plugin installed.

  2. Have a .env file at the root of the project. In the .env file, add TARGET_DEV_PATH=[path to the cs-plugin-particle-simulator in node modules folder in creative server]

  3. Run npm run dev

  4. All the source files are in source folder. Node API is under source/lib

  5. 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.

  6. 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!