Skip to content

Commit d515cc6

Browse files
committed
improves scripts to import helpers from tslib
1 parent 7511145 commit d515cc6

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
"tslint:test": "tslint --config tslint.test.json --project tsconfig.test.json",
1414
"tslint": "npm run tslint-check:src && npm run tslint-check:test && npm run tslint:src && npm run tslint:test",
1515
"autoformat": "prettier --config .prettierrc --write {src,test}{/,/**/}{*,*.test}.ts",
16-
"clean-up": "rimraf .nyc_output && rimraf coverage && rimraf lib",
17-
"compile": "tsc -d",
16+
"clean-up": "rimraf .nyc_output && rimraf coverage && rimraf lib && rimraf lib-test && rimraf dist-test",
17+
"compile:src": "tsc -d --importHelpers",
18+
"compile:test": "tsc -p tsconfig.test.json -d --importHelpers",
1819
"dev": "webpack",
1920
"build": "webpack --env.production",
20-
"prepare": "npm run clean-up && npm run compile",
21+
"prepare": "npm run clean-up && npm run compile:src",
2122
"prepublishOnly": "publish-please guard",
2223
"publish-please": "npm run tslint && npm run autoformat && npm run clean-up && npm run build && npm run test && publish-please"
2324
},
@@ -62,6 +63,9 @@
6263
"url": "https://github.com/RobotlegsJS/SignalsJS/issues"
6364
},
6465
"homepage": "https://github.com/RobotlegsJS/SignalsJS#readme",
66+
"dependencies": {
67+
"tslib": "^1.9.3"
68+
},
6569
"devDependencies": {
6670
"@types/bluebird": "^3.5.23",
6771
"@types/chai": "^4.1.4",

yarn.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3360,9 +3360,9 @@ ip@^1.1.0, ip@^1.1.2, ip@^1.1.4, ip@^1.1.5:
33603360
version "1.1.5"
33613361
resolved "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a"
33623362

3363-
ipaddr.js@1.6.0:
3364-
version "1.6.0"
3365-
resolved "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.6.0.tgz#e3fa357b773da619f26e95f049d055c72796f86b"
3363+
ipaddr.js@1.8.0:
3364+
version "1.8.0"
3365+
resolved "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.8.0.tgz#eaa33d6ddd7ace8f7f6fe0c9ca0440e706738b1e"
33663366

33673367
is-accessor-descriptor@^0.1.6:
33683368
version "0.1.6"
@@ -5361,11 +5361,11 @@ promisify-event@^1.0.0:
53615361
pinkie-promise "^2.0.0"
53625362

53635363
proxy-addr@~2.0.3:
5364-
version "2.0.3"
5365-
resolved "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.3.tgz#355f262505a621646b3130a728eb647e22055341"
5364+
version "2.0.4"
5365+
resolved "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.4.tgz#ecfc733bf22ff8c6f407fa275327b9ab67e48b93"
53665366
dependencies:
53675367
forwarded "~0.1.2"
5368-
ipaddr.js "1.6.0"
5368+
ipaddr.js "1.8.0"
53695369

53705370
proxy-agent@~3.0.0:
53715371
version "3.0.1"
@@ -6749,7 +6749,7 @@ ts-node@^7.0.0:
67496749
source-map-support "^0.5.6"
67506750
yn "^2.0.0"
67516751

6752-
tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0:
6752+
tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0, tslib@^1.9.3:
67536753
version "1.9.3"
67546754
resolved "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286"
67556755

0 commit comments

Comments
 (0)