refactor(@embark/core): move CoreProcess into embark-core

This commit is contained in:
Michael Bradley, Jr 2019-07-05 12:33:42 -05:00 committed by Michael Bradley
parent 04694edb0b
commit 13e926659f
4 changed files with 5 additions and 3 deletions

View File

@ -17,7 +17,8 @@
], ],
"files": [ "files": [
"constants.json", "constants.json",
"dist" "dist",
"process.js"
], ],
"license": "MIT", "license": "MIT",
"repository": { "repository": {
@ -31,7 +32,7 @@
"ci": "npm run qa", "ci": "npm run qa",
"clean": "npm run reset", "clean": "npm run reset",
"lint": "npm-run-all lint:*", "lint": "npm-run-all lint:*",
"lint:js": "eslint src/", "lint:js": "eslint process.js src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"", "// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack", "package": "npm pack",
"// qa": "npm-run-all lint typecheck build package", "// qa": "npm-run-all lint typecheck build package",

View File

@ -0,0 +1 @@
module.exports = require('./dist/processes/coreProcess');

View File

@ -113,7 +113,7 @@ class Engine {
} }
coreProcessService(_options){ coreProcessService(_options){
this.registerModule('core_process', { this.registerModulePackage('embark-core/process', {
events: this.events events: this.events
}); });
} }