2.2.0 • Published 9 years ago

docpad-plugin-traceur v2.2.0

Weekly downloads
14
License
-
Repository
github
Last release
9 years ago

Traceur Plugin for DocPad

Build Status NPM version Gittip donate button Analytics

Adds support for Traceur to JavaScript compilation to DocPad

Convention: .js.traceur|.js.tr

Install

npm install --save docpad-plugin-traceur

Configure

You can customise the compiler optons sent to the traceur compiler via the plugin's featureOptions config option

	[inside the docpad.config]....
		plugins:
			traceur:
				extensions: ['traceur', 'tr', 'es6'] # you can override and define your own here
				featureOptions:
					# default features can go here (initially enabled)
					
					# built in feature enable\disable
					
					# experimental features enable\disable
					annotations: true
					arrayComprehension: true
					asyncFunctions: true
					blockBinding: true
					exponentiation: true
					generatorComprehension: true
					symbols: true
					types: true

Full featureOptions list here

License

Licensed under the incredibly permissive MIT License Copyright © 2013+ Stringz Solutions Ltd Copyright © 2013+ Peter Flannery

2.2.0

9 years ago

2.0.3

10 years ago

2.0.2

11 years ago

2.0.0

11 years ago