From 53ea6504734d4c1e9213ec02b262e6a7518e1ea1 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 14 May 2018 23:58:35 -0400 Subject: [PATCH] sub scripts --- package-lock.json | 44 -------------------------------------------- package.json | 5 ++++- 2 files changed, 4 insertions(+), 45 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2eec17d872..537117a045 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2474,12 +2474,6 @@ "pify": "3.0.0" } }, - "make-error": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.4.tgz", - "integrity": "sha512-0Dab5btKVPhibSalc9QGXb559ED7G7iLjFXBaj9Wq8O3vorueR5K5jaE3hkG6ZQINyhA/JgG6Qk4qdFQjsYV6g==", - "dev": true - }, "map-cache": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", @@ -2590,12 +2584,6 @@ "brace-expansion": "1.1.11" } }, - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", - "dev": true - }, "mississippi": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-2.0.0.tgz", @@ -3545,16 +3533,6 @@ "urix": "0.1.0" } }, - "source-map-support": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.5.tgz", - "integrity": "sha512-mR7/Nd5l1z6g99010shcXJiNEaf3fEtmLhRB/sBcQVJGodcHCULPp2y4Sfa43Kv2zq7T+Izmfp/WHCR6dYkQCA==", - "dev": true, - "requires": { - "buffer-from": "1.0.0", - "source-map": "0.6.1" - } - }, "source-map-url": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", @@ -3824,22 +3802,6 @@ "semver": "5.5.0" } }, - "ts-node": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-6.0.3.tgz", - "integrity": "sha512-ARaOMNFEPKg2ZuC1qJddFvHxHNFVckR0g9xLxMIoMqSSIkDc8iS4/LoV53EdDWWNq2FGwqcEf0bVVGJIWpsznw==", - "dev": true, - "requires": { - "arrify": "1.0.1", - "chalk": "2.4.1", - "diff": "3.5.0", - "make-error": "1.3.4", - "minimist": "1.2.0", - "mkdirp": "0.5.1", - "source-map-support": "0.5.5", - "yn": "2.0.0" - } - }, "tslib": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.1.tgz", @@ -4387,12 +4349,6 @@ "dev": true } } - }, - "yn": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/yn/-/yn-2.0.0.tgz", - "integrity": "sha1-5a2ryKz0CPY4X8dklWhMiOavaJo=", - "dev": true } } } diff --git a/package.json b/package.json index 2dbb5f5ef7..18e4927c7a 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,10 @@ }, "license": "GPL-3.0", "scripts": { + "sub:init": "git submodule update --init --recursive", + "sub:update": "git submodule update --remote", + "sub:pull": "git submodule foreach git pull", + "postinstall": "npm run sub:init", "clean": "rimraf dist/**/*", "build": "webpack --config webpack.config.js", "build:watch": "webpack --config webpack.config.js --watch", @@ -36,7 +40,6 @@ "ts-loader": "^3.5.0", "tslint": "^5.9.1", "tslint-loader": "^3.5.3", - "ts-node": "^6.0.3", "typescript": "^2.7.1", "webpack": "^3.10.0" },