tkvw-javascript-lib-boilerplate
v1.0.0
Published
Boilerplate for es6 bundles
Downloads
2
Readme
Boilerplate for es6 library project
Content
Objectives
To have a boilerplate which:
- Uses as much defaults as possible
- Allows coding using newer javascript features (>= stage-3)
- Allows testing using jest
- Allows bundling to target Internet explorer 11
- Explains what's going on
Files
File | Usage / Notes --- | --- package.json | npm package file
Package.json
Comments are allowed in the root level, using "//":""
Devdependencies
Dependency | Usage | Note --- | --- | --- babel-cli | For executing babel to transpile sources to target platform babel-eslint* | ESLint doesn't natively support experimental ECMAScript language features, this plugin allows you to do so. Read more.. | For this to work with eslint you need to change the parser directive in the eslint configuration babel-plugin-transform-object-rest-spread | Transforms object rest spread syntax ({...}) using babel
* = optional
Jest testing
This boilerplates uses jest.config.js to configure the jest testing framework. Note This file should produce a result which can be JSON serialized.