-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
… update the STG template
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,8 @@ | |
"antlr4ts-benchmark-lr": "cd benchmark && antlr4ts -visitor JavaLR.g4 -DbaseImportPath=../../../src -o gen/lr", | ||
"antlr4ts-benchmark-lr-atn": "cd benchmark && antlr4ts -visitor -Xforce-atn JavaLR.g4 -DbaseImportPath=../../../src -o gen/lr-atn", | ||
"tsc": "tsc", | ||
"browserify": "./node_modules/.bin/browserify ./target/src/index.js --transform [ babelify --presets [ es2015 ] ] --debug --outfile target/antlr4ts.umd.js --standalone antlr4ts", | ||
"browserify-min": "./node_modules/.bin/browserify ./target/src/index.js --transform [ rollupify --config rollup.config.js ] --transform [ babelify --presets [ es2015 ] ] --outfile target/antlr4ts.umd.tree-shaken.js --standalone antlr4ts", | ||
"buildrts": "cd test/runtime && tsc", | ||
"test": "mocha", | ||
"cover": "istanbul cover node_modules/mocha/bin/_mocha", | ||
|
@@ -52,9 +54,14 @@ | |
"devDependencies": { | ||
"@types/mocha": "^2.2.32", | ||
"@types/node": "^6.0.41", | ||
"babel-preset-es2015": "^6.24.1", | ||
"babelify": "^7.3.0", | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
petermetz
Author
Owner
|
||
"browserify": "^14.4.0", | ||
"istanbul": "^0.4.5", | ||
"mocha": "^3.1.0", | ||
"mocha-typescript": "^1.0.10", | ||
"rollup-plugin-babel": "^2.7.1", | ||
"rollupify": "^0.4.0", | ||
"source-map-support": "^0.4.3", | ||
"std-mocks": "^1.0.1", | ||
"typedoc": "^0.5.1", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module.exports = { | ||
plugins: [ | ||
require('rollup-plugin-babel')({ | ||
exclude: 'node_modules/**' | ||
}) | ||
] | ||
} | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
1 comment
on commit c058037
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See inline comments
I'm really a bit gun shy about including Babel in this project. Isn't one transpiler (TypeScript) enough?