0.0.2 • Published 9 years ago
shield-studies-addon-template v0.0.2
Base Template for Shield Studies Addons
Features
eslint
- es6 for lib, data, test
- browser, not node for
data/
addons-linter
with.addonslinterrc
ci with Travis OR CircleCi (TODO)
ability to do code coverage, using
grunt-istanbul
andistanbul-jpm
uses Grunt to do some of the heavy lifting. Sorry if you hate Grunt. I do as well.
TODO: Allow better build of React type things for front ends
General Setup and Install
- Clone / copy the directory
npm install
Adding a new npm library
npm install --save-dev somelibrary
#edit .jpmignore to allow it in
Contribute
Issues on this Github :)
Assumptions and Opinions
- All code lives in
lib
and is ES6. - All website stuff (web-workers, ui) lives in
data
- Index at
lib/index.js
Grunt, b/c it makes instrument / coverage easier
grunt-istanbul
+istanbul-jpm
- if you want or need
make
,gulp
,webpack
you absolutely can
All the testing happens in a create
testing-env
folder, so that- it can use a custom
.jpmignore
file - it can do coverage with less silliness
- it can use a custom
As built, the tests will fail, until you fix the facade tests.
- We use
chai
for testing. If you don't, remove it where it happens. - You are somewhere with some resemblence to Unix cli (Linux or OSX).
0.0.2
9 years ago