npm install --global gh-pages npm install --global jasmine-node npm install --global karma-cli npm install --global npm-scripts-info npm install --global nyc npm install --global open-cli npm install --global trash-cli npm install --global typedoc npm install --global rollup npm install --global sleep-ms npm install --global sorcery
Open a terminal window.
Clone the davinci-eight repo:
git clone git://github.com/geometryzen/davinci-eight.git
Change to the repo directory:
cd davinci-eight
Install NPM:
npm install
npm update
to install the tooling dependencies (For this you need to have Node.js installed).
npm run info
npm run lint
npm run build
npm run test
npm run docs
npm run pages
npm run watch
to compile the source using the TypeScript compiler (For this you need to have TypeScript installed) and to package the individual files into a single JavaScript file.
Make your changes to the TypeScript files in the src directory. Do not edit the files in the dist directory, these files will be generated.
The following files should be changed.
package.json
src/lib/config.ts
src/index.d.ts
git add --all
git commit -m '...'
git tag -a 1.2.3 -m '...'
git push origin master --tags
npm publish