From b240cac78fcf370db5c8f299138dfd0d654d61ec Mon Sep 17 00:00:00 2001 From: carlosmaniero Date: Mon, 20 Jul 2020 23:56:21 -0300 Subject: [PATCH] adds cross-env for windows machine --- jig/cli/new-project/template/package.json | 9 +++++---- jig/package.json | 2 +- jigcss/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/jig/cli/new-project/template/package.json b/jig/cli/new-project/template/package.json index 5fe8bc8..963fb02 100644 --- a/jig/cli/new-project/template/package.json +++ b/jig/cli/new-project/template/package.json @@ -3,14 +3,15 @@ "scripts": { "start": "ts-node src/server.ts", "build": "jigjs-build", - "build:analyse-bundle": "SHOW_BUNDLE_REPORT=true npm run build", - "build:watch": "DEV=true BUILD_WATCH=true npm run build", - "server:watch": "DEV=true ts-node-dev --no-notify src/server.ts", - "dev": "concurrently -n build,server \"npm run build:watch\" \"DEV=true ts-node-dev --no-notify src/server.ts\"", + "build:analyse-bundle": "cross-env SHOW_BUNDLE_REPORT=true npm run build", + "build:watch": "cross-env DEV=true BUILD_WATCH=true npm run build", + "server:watch": "cross-env DEV=true ts-node-dev --no-notify src/server.ts", + "dev": "concurrently -n build,server \"npm run build:watch\" \"npm run server:watch\"", "test": "jest" }, "dependencies": { "jigjs": "^{{jigjs-version}}", + "cross-env": "^7.0.2", "express": "^4.17.1", "ts-loader": "^7.0.1", "ts-node": "^8.10.1", diff --git a/jig/package.json b/jig/package.json index 76cc8ad..1dd9f43 100644 --- a/jig/package.json +++ b/jig/package.json @@ -1,6 +1,6 @@ { "name": "jigjs", - "version": "0.0.0-pre-alpha.30", + "version": "0.0.0-pre-alpha.31", "description": "A front-end library", "author": "Carlos Maniero", "scripts": { diff --git a/jigcss/package.json b/jigcss/package.json index 6edc13b..0a5e5ea 100644 --- a/jigcss/package.json +++ b/jigcss/package.json @@ -1,6 +1,6 @@ { "name": "jigcss", - "version": "0.0.0-pre-alpha.30", + "version": "0.0.0-pre-alpha.31", "description": "A css-in-js module for jigjs", "repository": "https://github.com/carlosmaniero/jigjs.git", "author": "Carlos Maniero",