Skip to content
This repository has been archived by the owner on Feb 28, 2018. It is now read-only.

Commit

Permalink
npm release
Browse files Browse the repository at this point in the history
  • Loading branch information
nidin committed Jun 17, 2017
1 parent 771eeb2 commit 976c50b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lib/turboscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -6793,7 +6793,7 @@ function compileString(source, options) {
}
}
exports.compileString = compileString;
exports.version = "1.0.0-beta";
exports.version = "1.0.1-beta";
exports.default = {
version: exports.version,
main: exports.main,
Expand Down
2 changes: 1 addition & 1 deletion lib/turboscript.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "turboscript",
"version": "1.0.1-beta",
"version": "1.0.2-beta",
"description": "Super charged JavaScript for parallel programming and WebAssembly",
"main": "index.js",
"directories": {
Expand Down Expand Up @@ -33,7 +33,7 @@
},
"scripts": {
"build": "webpack --config webpack.config.js && tsc -p ./lib",
"watch-build": "webpack --progress --colors --watch",
"watch-build": "NODE_ENV='dev' webpack --progress --colors --watch",
"test": "node ./node_modules/jest/bin/jest.js",
"watch-test": "node ./node_modules/jest/bin/jest.js --watch"
},
Expand Down
10 changes: 6 additions & 4 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ const path = require("path");
const webpack = require("webpack");
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');

const entry = process.env.NODE_ENV === "dev" ? {"turboscript": "./src/index.ts"} : {
"turboscript": "./src/index.ts",
"turboscript.min": "./src/index.ts"
};

module.exports = {
target: "node",
entry: {
"turboscript": "./src/index.ts",
// "turboscript.min": "./src/index.ts"
},
entry: entry,
devtool: "source-map",
resolve: {
// Add ".ts" and ".tsx" as a resolvable extension.
Expand Down

0 comments on commit 976c50b

Please sign in to comment.