Skip to content

Commit

Permalink
feat(deps): split up dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasGassmann committed Oct 29, 2019
1 parent 5f005ea commit 165af90
Show file tree
Hide file tree
Showing 4 changed files with 170 additions and 4,201 deletions.
20 changes: 20 additions & 0 deletions install-build-deps.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
'use strict'
var __assign =
(this && this.__assign) ||
function() {
__assign =
Object.assign ||
function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i]
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]
}
return t
}
return __assign.apply(this, arguments)
}
exports.__esModule = true
var fs_1 = require('fs')
var pkg = JSON.parse(fs_1.readFileSync('./package.json', 'utf-8'))
pkg.devDependencies = __assign({}, pkg.buildDependencies)
fs_1.writeFileSync('./package.json', JSON.stringify(pkg, undefined, 2))
20 changes: 20 additions & 0 deletions install-test-deps.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
'use strict'
var __assign =
(this && this.__assign) ||
function() {
__assign =
Object.assign ||
function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i]
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]
}
return t
}
return __assign.apply(this, arguments)
}
exports.__esModule = true
var fs_1 = require('fs')
var pkg = JSON.parse(fs_1.readFileSync('./package.json', 'utf-8'))
pkg.devDependencies = __assign({}, pkg.buildDependencies, pkg.testDependencies)
fs_1.writeFileSync('./package.json', JSON.stringify(pkg, undefined, 2))
Loading

0 comments on commit 165af90

Please sign in to comment.