build: phase 1 of introducing embark-collective

This commit is contained in:
Michael Bradley, Jr 2019-09-18 14:30:41 -05:00 committed by Michael Bradley
parent de85076d48
commit 3b649fa455
116 changed files with 1635 additions and 1190 deletions

View File

@ -1,5 +1,12 @@
/* global module require */
/*
* dependencies of this config should be specified in
* `utils/collective/package.json` relative to this config file, with reliance
* on yarn-workspace hoisting for those packages to be resolvable from the
* monorepo root
*/
const cloneDeep = require('lodash.clonedeep');
module.exports = (api) => {

View File

@ -19,8 +19,7 @@
"scripts": {
"ci": "npm run qa",
"clean": "npm run reset",
"package": "npm pack",
"qa": "npm-run-all test package",
"qa": "npm run test",
"reset": "npx embark-reset && npx rimraf embark-*.tgz package",
"test": "npx embark test"
},
@ -35,7 +34,6 @@
"devDependencies": {
"embark": "^4.1.1",
"embark-reset": "^4.1.1",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0"
}
}

View File

@ -19,8 +19,7 @@
"scripts": {
"ci": "npm run qa",
"clean": "npm run reset",
"package": "npm pack",
"qa": "npm-run-all test package",
"qa": "npm run test",
"reset": "npx embark-reset && npx rimraf embark-*.tgz package",
"test": "npx embark test"
},
@ -37,7 +36,8 @@
"classnames": "2.2.6",
"embark": "^4.1.1",
"embark-reset": "^4.1.1",
"npm-run-all": "4.1.5",
"jquery": "3.4.1",
"popper.js": "1.15.0",
"react": "16.9.0",
"react-dom": "16.9.0",
"reactstrap": "8.0.1",

View File

@ -15,8 +15,7 @@
"scripts": {
"ci": "npm run qa",
"clean": "npm run reset",
"package": "npm pack",
"qa": "npm-run-all test package",
"qa": "npm run test",
"reset": "npx embark-reset && npx rimraf embark-*.tgz package",
"test": "npx embark test"
},
@ -31,7 +30,6 @@
"devDependencies": {
"embark": "^4.1.1",
"embark-reset": "^4.1.1",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0"
}
}

View File

@ -7,7 +7,7 @@
"embark-dapp-test-service": "^4.0.0",
"embark-i18n": "^4.1.1",
"embark-reset": "^4.1.1",
"fs-extra": "7.0.1",
"fs-extra": "8.1.0",
"haml": "0.4.3",
"jquery": "3.4.0",
"react": "16.9.0",

View File

@ -1,27 +1,15 @@
{
"devDependencies": {
"@babel/core": "7.2.2",
"@babel/plugin-proposal-class-properties": "7.5.5",
"@babel/plugin-proposal-decorators": "7.3.0",
"@babel/plugin-proposal-optional-chaining": "7.6.0",
"@babel/plugin-syntax-dynamic-import": "7.2.0",
"@babel/plugin-transform-runtime": "7.2.0",
"@babel/preset-env": "7.5.5",
"@babel/preset-typescript": "7.6.0",
"babel-plugin-dynamic-import-node": "2.2.0",
"babel-plugin-macros": "2.4.5",
"chalk": "2.4.2",
"coveralls": "3.0.6",
"eslint-plugin-react": "7.14.3",
"find-up": "4.1.0",
"form-data": "2.5.1",
"fs-extra": "7.0.1",
"fs-extra": "8.1.0",
"lerna": "3.16.4",
"lodash.clonedeep": "4.5.0",
"minimist": "1.2.0",
"npm-run-all": "4.1.5",
"nyc": "13.1.0",
"rimraf": "3.0.0",
"semver": "5.6.0"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",
@ -31,12 +19,12 @@
"name": "root",
"private": true,
"scripts": {
"build": "lerna run --stream build",
"build": "node scripts/monorun --stream build",
"build:no-ui": "npm run build -- --ignore embark-ui",
"ci": "lerna run --ignore embark-dapp-* --stream ci",
"ci": "node scripts/monorun --ignore embark-dapp-* --stream ci",
"ci:dapps": "lerna run --concurrency=1 --scope embark-dapp-* --stream ci",
"ci:full": "npm-run-all cwtree \"ci -- --concurrency={1}\" ci:dapps cwtree -- 1",
"clean": "npx lerna run --stream clean",
"clean": "node scripts/monorun --stream clean",
"clean:full": "npx npm-run-all clean clean:top",
"clean:top": "npx rimraf node_modules",
"coverage": "npm-run-all coverage:collect coverage:report",
@ -47,29 +35,33 @@
"cwtree": "node scripts/check-working-tree",
"deploy:site": "node site/deploy-site",
"globalize": "node scripts/globalize",
"lint": "lerna run --parallel lint",
"package": "lerna run --parallel package",
"lint": "node scripts/monorun --parallel lint",
"package": "lerna exec --stream --concurrency=1 -- npm pack",
"postclean": "npx lerna clean --yes",
"postreboot": "yarn install",
"postreboot:full": "yarn install",
"preci:full": "yarn install",
"preclean": "npm run reset:top",
"preqa:full": "yarn install",
"qa": "lerna run --ignore embark-dapp-* --stream qa",
"qa": "node scripts/monorun --ignore embark-dapp-* --stream qa",
"qa:dapps": "lerna run --concurrency=1 --scope embark-dapp-* --stream qa",
"qa:full": "npm-run-all cwtree reboot:full cwtree \"qa -- --concurrency={1}\" qa:dapps cwtree -- 1",
"reboot": "npm run clean",
"reboot:full": "npm run clean:full",
"release": "node scripts/release",
"reset": "npx lerna run --stream reset",
"reset": "node scripts/monorun --stream reset",
"reset:full": "npx npm-run-all reset reset:top",
"reset:top": "npx rimraf .nyc_output coverage",
"start": "lerna run --parallel start",
"test": "lerna run --ignore embark-dapp-* --stream test",
"start": "node scripts/monorun --parallel start",
"test": "node scripts/monorun --ignore embark-dapp-* --stream test",
"test:dapps": "lerna run --concurrency=1 --scope embark-dapp-* --stream test",
"test:full": "npm-run-all test test:dapps",
"typecheck": "lerna run --parallel typecheck",
"watch": "lerna run --parallel watch"
"typecheck": "node scripts/monorun --parallel typecheck",
"watch": "node scripts/monorun --parallel watch",
"watch:build": "node scripts/monorun --parallel watch:build",
"watch:lint": "node scripts/monorun --parallel watch:lint",
"watch:test": "node scripts/monorun --ignore embark-dapp-* --parallel watch:test",
"watch:typecheck": "node scripts/monorun --parallel watch:typecheck"
},
"workspaces": {
"packages": [
@ -80,7 +72,8 @@
"packages/core/*",
"packages/embarkjs/*",
"packages/plugins/*",
"packages/stack/*"
"packages/stack/*",
"utils/*"
],
"nohoist": [
"embark-dapp-template-demo/bootstrap",

2
packages/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
!/plugins/coverage
/plugins/coverage/coverage

View File

@ -27,22 +27,25 @@
"scripts": {
"build": "react-scripts build",
"build-storybook": "build-storybook -s public",
"ci": "npm-run-all lint test package",
"ci": "npm-run-all lint test",
"clean": "npm run reset",
"lint": "eslint src/",
"package": "npm pack",
"prebuild": "node scripts/copy-monaco-to-public",
"prestart": "node scripts/copy-monaco-to-public dev",
"qa": "npm-run-all lint test build package",
"qa": "npm-run-all lint test build",
"reset": "npx rimraf build embark-*.tgz package public/vsdir storybook-static",
"start": "react-scripts start",
"storybook": "start-storybook -p 9009 -s public",
"test": "react-scripts test --watchAll=false",
"watch:build": "react-scripts start",
"watch:test": "react-scripts test"
},
"devDependencies": {
"@babel/core": "7.6.2",
"@coreui/coreui": "2.1.0",
"@coreui/react": "2.1.0",
"@emotion/core": "0.13.1",
"@emotion/styled": "0.10.6",
"@monaco-editor/react": "1.2.1",
"@storybook/addon-actions": "5.1.11",
"@storybook/addon-info": "5.1.11",
@ -54,6 +57,7 @@
"ansi-to-html": "0.6.11",
"array-move": "2.0.0",
"autoscroll-react": "3.2.0",
"babel-loader": "8.0.6",
"bignumber.js": "2.0.7",
"classnames": "2.2.6",
"connected-react-router": "4.5.0",
@ -64,8 +68,11 @@
"font-awesome": "4.7.0",
"fs-extra": "8.1.0",
"history": "4.7.2",
"jquery": "3.4.1",
"monaco-editor": "0.14.3",
"npm-run-all": "4.1.5",
"perfect-scrollbar": "1.4.0",
"popper.js": "1.15.0",
"prop-types": "15.7.2",
"qs": "6.5.2",
"re-resizable": "6.0.0",
@ -78,6 +85,7 @@
"react-helmet": "5.2.0",
"react-json-view": "1.19.1",
"react-redux": "5.1.1",
"react-router": "4.3.1",
"react-router-dom": "4.3.1",
"react-scripts": "3.1.2",
"react-sortable-hoc": "1.8.3",
@ -87,6 +95,7 @@
"redux-saga": "0.16.2",
"rimraf": "3.0.0",
"simple-line-icons": "2.4.1",
"typescript": "3.6.3",
"uuid": "3.3.2",
"velocity-react": "1.4.1",
"web3": "1.2.1"

View File

@ -25,40 +25,31 @@
"files": [
"dist"
],
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"axios": "0.19.0",
"keccakjs": "0.2.3"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -25,46 +25,45 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js,.ts\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint typecheck _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"solo": "embark-solo",
"typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"colors": "1.3.2",
"embark-utils": "^4.1.1",
"embarkjs": "^4.1.1",
"fs-extra": "7.0.1",
"fs-extra": "8.1.0",
"parse-json": "4.0.0",
"vm2": "3.6.4",
"web3": "1.2.1"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"@types/async": "2.0.50",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"typescript": "3.6.3"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -26,28 +26,29 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/lib/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js,.ts\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"qa": "npm-run-all lint typecheck build test package",
"qa": "npm-run-all lint typecheck _build test",
"reset": "npx rimraf .nyc_output coverage dist embark-*.tgz package",
"start": "npm run watch",
"solo": "embark-solo",
"test": "nyc --reporter=html --reporter=json mocha \"dist/test/**/*.js\" --exit --no-timeouts --require source-map-support/register",
"typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"chalk": "2.4.2",
"embark-core": "^4.1.1",
@ -56,11 +57,9 @@
"json-stringify-safe": "5.0.1"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"@types/json-stringify-safe": "5.0.0",
"cross-env": "5.2.0",
"embark-logger": "^4.1.1",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"mocha": "6.2.0",
"npm-run-all": "4.1.5",
@ -68,7 +67,7 @@
"rimraf": "3.0.0",
"source-map-support": "0.5.13",
"tslint": "5.16.0",
"typescript": "3.4.5"
"typescript": "3.6.3"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -27,44 +27,35 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint process.js src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint process.js src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"embark-i18n": "^4.1.1",
"embark-utils": "^4.1.1",
"flatted": "0.2.3",
"fs-extra": "7.0.1",
"fs-extra": "8.1.0",
"node-ipc": "9.1.1",
"uuid": "3.3.2"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -26,36 +26,35 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".ts\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint typecheck _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"solo": "embark-solo",
"typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"colors": "1.3.2",
"i18n": "0.8.3",
"os-locale": "2.1.0"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"@types/i18n": "0.8.3",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"typescript": "3.6.3"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -30,7 +30,7 @@ i18n.configure({
});
const isSupported = (locale: string) => {
return Object.values(SupportedLanguage).includes(locale);
return (Object.values(SupportedLanguage) as string[]).includes(locale);
};
export const setOrDetectLocale = (locale: Maybe<string>) => {

View File

@ -25,41 +25,32 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"colors": "1.3.2",
"date-and-time": "0.6.2",
"embark-utils": "^4.1.1"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -17,9 +17,16 @@
"files": [
"bin.js"
],
"embark-collective": {},
"scripts": {
"solo": "embark-solo"
},
"dependencies": {
"rimraf": "3.0.0"
},
"devDependencies": {
"embark-solo": "^4.1.1"
},
"engines": {
"node": ">=8.12.0 <12.0.0",
"npm": ">=6.4.1",

1
packages/core/typings/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
types-embark-*.tgz

View File

@ -24,19 +24,22 @@
},
"main": "",
"types": "index",
"embark-collective": {},
"scripts": {
"ci": "npm run qa",
"lint": "tslint -c tslint.json index.d.ts \"src/**/*.ts\"",
"qa": "npm-run-all lint typecheck",
"start": "npm run watch",
"solo": "embark-solo",
"typecheck": "tsc",
"watch": "npm run typecheck -- --preserveWatchOutput --watch"
"watch": "run-p watch:*",
"watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
},
"devDependencies": {
"@types/web3": "1.0.12",
"embark-solo": "^4.1.1",
"npm-run-all": "4.1.5",
"tslint": "5.16.0",
"typescript": "3.4.5"
"typescript": "3.6.3"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -25,27 +25,28 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js,.ts\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint typecheck _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"solo": "embark-solo",
"typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.6.0",
"@babel/runtime-corejs2": "7.6.2",
"bip39": "3.0.2",
"clipboardy": "1.2.3",
"colors": "1.3.2",
@ -53,7 +54,7 @@
"ethereumjs-wallet": "0.6.3",
"find-up": "2.1.0",
"follow-redirects": "1.8.0",
"fs-extra": "7.0.1",
"fs-extra": "8.1.0",
"fuzzy": "0.1.3",
"glob": "7.1.4",
"globule": "1.2.1",
@ -67,19 +68,17 @@
"web3-eth-abi": "1.2.1"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"@types/follow-redirects": "1.5.0",
"@types/fs-extra": "7.0.0",
"@types/node": "10.11.7",
"@types/node": "12.7.8",
"@types/pretty-ms": "5.0.1",
"cross-env": "5.2.0",
"embark-inside-monorepo": "^4.1.1",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"typescript": "3.6.3"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -1 +0,0 @@
module.exports = require('../../babel.config.js');

View File

@ -23,54 +23,52 @@
"files": [
"dist"
],
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch",
"solo": "embark-solo",
"test": "jest"
},
"eslintConfig": {
"extends": "../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.6.2",
"refute": "1.0.2",
"sinon": "7.4.2"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"@babel/plugin-proposal-class-properties": "7.5.5",
"@babel/plugin-transform-runtime": "7.5.5",
"@babel/preset-env": "7.5.5",
"@babel/core": "7.6.2",
"@types/async": "2.0.50",
"babel-jest": "24.9.0",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"jest": "24.9.0",
"lodash.clonedeep": "4.5.0",
"npm-run-all": "4.1.5",
"rimraf": "2.6.3",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "2.6.3"
},
"jest": {
"collectCoverage": true,
"testEnvironment": "node",
"testMatch": [
"**/test/**/*.js"
],
"transform": {
"\\.js$": [
"babel-jest",
{
"rootMode": "upward"
}
]
}
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -2,8 +2,8 @@
const assert = require('assert').strict;
describe('Testing', () => {
it('should have tests', (done) => {
assert(false, 'No tests yet on testing');
it('should have tests, please write them', (done) => {
expect(true).toBe(true);
done();
});
});

View File

@ -1,6 +1,41 @@
/* global module require */
/* global __dirname module require */
const cloneDeep = require('lodash.clonedeep');
const {copySync, ensureDirSync} = require('fs-extra');
const glob = require('glob');
const {dirname, join, relative} = require('path');
// @babel/cli v7's --copy-files option does not work well together with
// config-specified ignore paths, and that's a problem for embark-collective
// actions since the @babel/cli invocation must be the same across all packages
// in the collective; so any package in the collective that excludes src/ files
// from transpilation via its package-local .babelrc.js should copy those files
// into dist/, but only if they are expected to be in dist/; .babelrc.js should
// also copy any non .js,.ts files into /dist
// in this case we want the un-transpiled webpack config and babel-loader
// overrides script from the basic-pipeline to be copied into the respective
// subdir in dist/; we also want to copy .ejs and .json files
function copyFiles (ignored) {
const others = glob.sync(
join(__dirname, 'src/**/*.*'),
{ignore: [
join(__dirname, 'src/**/*.js'),
join(__dirname, 'src/**/*.ts'),
join(__dirname, 'src/**/*.disabled')
]}
).map(path => relative(__dirname, path));
ignored = ignored.concat(others);
ignored
.map(path => path.replace('src/', 'dist/'))
.forEach((dest, index) => {
ensureDirSync(dirname(join(__dirname, dest)));
const source = ignored[index];
copySync(join(__dirname, source), join(__dirname, dest));
});
}
module.exports = (api) => {
const env = api.env();
@ -16,8 +51,16 @@ module.exports = (api) => {
});
if (env === 'node') {
copyFiles(node.ignore);
return node;
}
const test = cloneDeep(node);
if (env === 'test') {
copyFiles(test.ignore);
return test;
}
return base;
};

View File

@ -32,21 +32,22 @@
"dist/lib",
"locales"
],
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --copy-files --extensions \".js,.ts\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint bin/embark src/bin/ src/lib/",
"lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"qa": "npm-run-all lint typecheck build test package",
"qa": "npm-run-all lint typecheck _build test",
"reset": "npx rimraf .nyc_output coverage dist embark-*.tgz package",
"start": "npm run watch",
"solo": "embark-solo",
"test": "nyc --reporter=html --reporter=json mocha \"dist/test/**/*.js\" --exit --no-timeouts --require ./scripts/test.js --require source-map-support/register",
"typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
},
"eslintConfig": {
@ -60,7 +61,7 @@
]
},
"dependencies": {
"@babel/core": "7.2.2",
"@babel/core": "7.6.2",
"@babel/plugin-proposal-class-properties": "7.5.5",
"@babel/plugin-proposal-decorators": "7.3.0",
"@babel/plugin-proposal-object-rest-spread": "7.3.2",
@ -71,7 +72,7 @@
"@babel/preset-env": "7.5.5",
"@babel/preset-react": "7.0.0",
"@babel/preset-typescript": "7.6.0",
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"ajv": "6.10.2",
"ascii-table": "0.0.9",
"async": "2.6.1",
@ -144,7 +145,7 @@
"file-loader": "4.2.0",
"find-up": "2.1.0",
"flatted": "0.2.3",
"fs-extra": "7.0.1",
"fs-extra": "8.1.0",
"ganache-cli": "6.4.3",
"glob": "7.1.4",
"globule": "1.2.1",
@ -209,10 +210,10 @@
"web3-utils": "1.2.1",
"webpack": "4.41.0",
"window-size": "1.1.1",
"ws": "7.1.2"
"ws": "7.1.2",
"yo-yoify": "4.3.0"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@types/async": "2.0.50",
"@types/body-parser": "1.17.1",
"@types/cors": "2.8.4",
@ -222,12 +223,12 @@
"@types/globule": "1.1.3",
"@types/helmet": "0.0.42",
"@types/i18n": "0.8.3",
"@types/node": "10.11.7",
"@types/node": "12.7.8",
"@types/os-locale": "2.1.0",
"@types/request": "2.48.1",
"@types/web3": "1.0.12",
"chai": "4.1.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"embark-test-contract-0": "0.0.2",
"embark-test-contract-1": "0.0.1",
"eslint": "5.7.0",
@ -237,7 +238,7 @@
"rimraf": "3.0.0",
"sinon": "4.5.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"typescript": "3.6.3"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -10,36 +10,21 @@ module.exports = (api) => {
const browser = cloneDeep(base);
Object.assign(browser, {
ignore: [
'src/embarkjs.js',
'src/node/index.js'
'src/node'
]
});
const node = cloneDeep(base);
Object.assign(node, {
ignore: [
'src/browser.js'
]
});
const nodeAsync = cloneDeep(base);
Object.assign(nodeAsync, {
ignore: [
'src/node/index.js'
]
});
const nodeTest = cloneDeep(base);
const test = cloneDeep(node);
switch (env) {
case 'browser':
return browser;
case 'node':
return node;
case 'node:async':
return nodeAsync;
case 'node:test':
return nodeTest;
case 'test':
return test;
default:
return base;
}

View File

@ -4,7 +4,7 @@
"author": "Iuri Matias <iuri.matias@gmail.com>",
"contributors": [],
"description": "Ens plugin for embarkjs",
"homepage": "https://github.com/embark-framework/embark/tree/master/packages/embarkjs-ens#readme",
"homepage": "https://github.com/embark-framework/embark/tree/master/packages/embarkjs/embarkjs-ens#readme",
"bugs": "https://github.com/embark-framework/embark/issues",
"keywords": [
"blockchain",
@ -17,14 +17,12 @@
],
"license": "MIT",
"repository": {
"directory": "packages/embarkjs-ens",
"directory": "packages/embarkjs/embarkjs-ens",
"type": "git",
"url": "https://github.com/embark-framework/embark.git"
},
"main": "dist/node/index.js",
"browser": {
"./dist/node/index.js": "./dist/browser/index.js"
},
"browser": "./dist/browser/index.js",
"browserslist": [
"last 1 version",
"not dead",
@ -33,39 +31,30 @@
"files": [
"dist"
],
"embark-collective": {
"build:browser": true,
"build:node": true
},
"scripts": {
"build": "npm-run-all build:**",
"build:browser": "cross-env BABEL_ENV=browser babel src --extensions \".js\" --out-dir dist/browser --root-mode upward",
"build:node": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"build:node:async": "cross-env BABEL_ENV=node:async babel src/node --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"// build:node:test": "cross-env BABEL_ENV=node:test babel test --extensions \".js\" --out-dir build-test --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"package": "npm pack",
"// qa": "npm-run-all build test package",
"qa": "npm-run-all build package",
"reset": "npx rimraf .nyc_output build-test coverage dist embarkjs-*.tgz package",
"start": "npm run watch",
"// test": "nyc --reporter=html --reporter=json mocha \"build-test/**/*.js\" --exit --no-timeouts --require source-map-support/register",
"watch": "run-p \"build:** -- --verbose --watch\""
"qa": "npm-run-all _build",
"reset": "npx rimraf coverage dist embarkjs-*.tgz package",
"solo": "embark-solo"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"embarkjs": "^4.1.1",
"eth-ens-namehash": "2.0.8",
"web3": "1.2.1"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"ajv": "6.10.2",
"chai": "4.2.0",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"lodash.clonedeep": "4.5.0",
"mocha": "6.2.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"source-map-support": "0.5.13"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -1 +0,0 @@
export {default} from './index';

View File

@ -1 +1 @@
module.exports = require('../embarkjs').default;
module.exports = require('..').default;

View File

@ -10,36 +10,21 @@ module.exports = (api) => {
const browser = cloneDeep(base);
Object.assign(browser, {
ignore: [
'src/embarkjs.js',
'src/node/index.js'
'src/node'
]
});
const node = cloneDeep(base);
Object.assign(node, {
ignore: [
'src/browser.js'
]
});
const nodeAsync = cloneDeep(base);
Object.assign(nodeAsync, {
ignore: [
'src/node/index.js'
]
});
const nodeTest = cloneDeep(base);
const test = cloneDeep(node);
switch (env) {
case 'browser':
return browser;
case 'node':
return node;
case 'node:async':
return nodeAsync;
case 'node:test':
return nodeTest;
case 'test':
return test;
default:
return base;
}

View File

@ -4,7 +4,7 @@
"author": "Iuri Matias <iuri.matias@gmail.com>",
"contributors": [],
"description": "Ipfs plugin for embarkjs",
"homepage": "https://github.com/embark-framework/embark/tree/master/packages/embarkjs-ipfs#readme",
"homepage": "https://github.com/embark-framework/embark/tree/master/packages/embarkjs/embarkjs-ipfs#readme",
"bugs": "https://github.com/embark-framework/embark/issues",
"keywords": [
"blockchain",
@ -17,14 +17,12 @@
],
"license": "MIT",
"repository": {
"directory": "packages/embarkjs-ipfs",
"directory": "packages/embarkjs/embarkjs-ipfs",
"type": "git",
"url": "https://github.com/embark-framework/embark.git"
},
"main": "dist/node/index.js",
"browser": {
"./dist/node/index.js": "./dist/browser/index.js"
},
"browser": "./dist/browser/index.js",
"browserslist": [
"last 1 version",
"not dead",
@ -33,38 +31,28 @@
"files": [
"dist"
],
"embark-collective": {
"build:browser": true,
"build:node": true
},
"scripts": {
"build": "npm-run-all build:**",
"build:browser": "cross-env BABEL_ENV=browser babel src --extensions \".js\" --out-dir dist/browser --root-mode upward",
"build:node": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"build:node:async": "cross-env BABEL_ENV=node:async babel src/node --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"// build:node:test": "cross-env BABEL_ENV=node:test babel test --extensions \".js\" --out-dir build-test --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"package": "npm pack",
"// qa": "npm-run-all build test package",
"qa": "npm-run-all build package",
"reset": "npx rimraf .nyc_output build-test coverage dist embarkjs-*.tgz package",
"start": "npm run watch",
"// test": "nyc --reporter=html --reporter=json mocha \"build-test/**/*.js\" --exit --no-timeouts --require source-map-support/register",
"watch": "run-p \"build:** -- --verbose --watch\""
"qa": "npm-run-all _build",
"reset": "npx rimraf coverage dist embarkjs-*.tgz package",
"solo": "embark-solo"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"ipfs-api": "17.2.4"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"ajv": "6.10.2",
"chai": "4.2.0",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"lodash.clonedeep": "4.5.0",
"mocha": "6.2.0",
"npm-run-all": "4.1.5",
"nyc": "13.1.0",
"rimraf": "3.0.0",
"source-map-support": "0.5.13"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -1 +0,0 @@
export {default} from './index';

View File

@ -1 +1 @@
module.exports = require('../embarkjs').default;
module.exports = require('..').default;

View File

@ -10,36 +10,21 @@ module.exports = (api) => {
const browser = cloneDeep(base);
Object.assign(browser, {
ignore: [
'src/embarkjs.js',
'src/node/index.js'
'src/node'
]
});
const node = cloneDeep(base);
Object.assign(node, {
ignore: [
'src/browser.js'
]
});
const nodeAsync = cloneDeep(base);
Object.assign(nodeAsync, {
ignore: [
'src/node/index.js'
]
});
const nodeTest = cloneDeep(base);
const test = cloneDeep(node);
switch (env) {
case 'browser':
return browser;
case 'node':
return node;
case 'node:async':
return nodeAsync;
case 'node:test':
return nodeTest;
case 'test':
return test;
default:
return base;
}

View File

@ -4,7 +4,7 @@
"author": "Iuri Matias <iuri.matias@gmail.com>",
"contributors": [],
"description": "Swarm plugin for embarkjs",
"homepage": "https://github.com/embark-framework/embark/tree/master/packages/embarkjs-swarm#readme",
"homepage": "https://github.com/embark-framework/embark/tree/master/packages/embarkjs/embarkjs-swarm#readme",
"bugs": "https://github.com/embark-framework/embark/issues",
"keywords": [
"blockchain",
@ -17,14 +17,12 @@
],
"license": "MIT",
"repository": {
"directory": "packages/embarkjs-swarm",
"directory": "packages/embarkjs/embarkjs-swarm",
"type": "git",
"url": "https://github.com/embark-framework/embark.git"
},
"main": "dist/node/index.js",
"browser": {
"./dist/node/index.js": "./dist/browser/index.js"
},
"browser": "./dist/browser/index.js",
"browserslist": [
"last 1 version",
"not dead",
@ -33,39 +31,29 @@
"files": [
"dist"
],
"embark-collective": {
"build:browser": true,
"build:node": true
},
"scripts": {
"build": "npm-run-all build:**",
"build:browser": "cross-env BABEL_ENV=browser babel src --extensions \".js\" --out-dir dist/browser --root-mode upward",
"build:node": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"build:node:async": "cross-env BABEL_ENV=node:async babel src/node --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"// build:node:test": "cross-env BABEL_ENV=node:test babel test --extensions \".js\" --out-dir build-test --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"package": "npm pack",
"// qa": "npm-run-all build test package",
"qa": "npm-run-all build package",
"reset": "npx rimraf .nyc_output build-test coverage dist embarkjs-*.tgz package",
"start": "npm run watch",
"// test": "nyc --reporter=html --reporter=json mocha \"build-test/**/*.js\" --exit --no-timeouts --require source-map-support/register",
"watch": "run-p \"build:** -- --verbose --watch\""
"qa": "npm-run-all _build",
"reset": "npx rimraf coverage dist embarkjs-*.tgz package",
"solo": "embark-solo"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"swarm-api": "0.1.2",
"web3": "1.2.1"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"ajv": "6.10.2",
"chai": "4.2.0",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"lodash.clonedeep": "4.5.0",
"mocha": "6.2.0",
"npm-run-all": "4.1.5",
"nyc": "13.1.0",
"rimraf": "3.0.0",
"source-map-support": "0.5.13"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -1 +0,0 @@
export {default} from './index';

View File

@ -1 +1 @@
module.exports = require('../embarkjs').default;
module.exports = require('..').default;

View File

@ -10,36 +10,21 @@ module.exports = (api) => {
const browser = cloneDeep(base);
Object.assign(browser, {
ignore: [
'src/embarkjs.js',
'src/node/index.js'
'src/node'
]
});
const node = cloneDeep(base);
Object.assign(node, {
ignore: [
'src/browser.js'
]
});
const nodeAsync = cloneDeep(base);
Object.assign(nodeAsync, {
ignore: [
'src/node/index.js'
]
});
const nodeTest = cloneDeep(base);
const test = cloneDeep(node);
switch (env) {
case 'browser':
return browser;
case 'node':
return node;
case 'node:async':
return nodeAsync;
case 'node:test':
return nodeTest;
case 'test':
return test;
default:
return base;
}

View File

@ -4,7 +4,7 @@
"author": "Iuri Matias <iuri.matias@gmail.com>",
"contributors": [],
"description": "embarkjs plugin to interact with web3",
"homepage": "https://github.com/embark-framework/embark/tree/master/packages/embarkjs-web3#readme",
"homepage": "https://github.com/embark-framework/embark/tree/master/packages/embarkjs/embarkjs-web3#readme",
"bugs": "https://github.com/embark-framework/embark/issues",
"keywords": [
"blockchain",
@ -17,14 +17,12 @@
],
"license": "MIT",
"repository": {
"directory": "packages/embarkjs-web3",
"directory": "packages/embarkjs/embarkjs-web3",
"type": "git",
"url": "https://github.com/embark-framework/embark.git"
},
"main": "dist/node/index.js",
"browser": {
"./dist/node/index.js": "./dist/browser/index.js"
},
"browser": "./dist/browser/index.js",
"browserslist": [
"last 1 version",
"not dead",
@ -33,38 +31,28 @@
"files": [
"dist"
],
"embark-collective": {
"build:browser": true,
"build:node": true
},
"scripts": {
"build": "npm-run-all build:**",
"build:browser": "cross-env BABEL_ENV=browser babel src --extensions \".js\" --out-dir dist/browser --root-mode upward",
"build:node": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"build:node:async": "cross-env BABEL_ENV=node:async babel src/node --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"// build:node:test": "cross-env BABEL_ENV=node:test babel test --extensions \".js\" --out-dir build-test --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"package": "npm pack",
"// qa": "npm-run-all build test package",
"qa": "npm-run-all build package",
"reset": "npx rimraf .nyc_output build-test coverage dist embarkjs-*.tgz package",
"start": "npm run watch",
"// test": "nyc --reporter=html --reporter=json mocha \"build-test/**/*.js\" --exit --no-timeouts --require source-map-support/register",
"watch": "run-p \"build:** -- --verbose --watch\""
"qa": "npm-run-all _build",
"reset": "npx rimraf coverage dist embarkjs-*.tgz package",
"solo": "embark-solo"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"web3": "1.2.1"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"ajv": "6.10.2",
"chai": "4.2.0",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"lodash.clonedeep": "4.5.0",
"mocha": "6.2.0",
"npm-run-all": "4.1.5",
"nyc": "13.1.0",
"rimraf": "3.0.0",
"source-map-support": "0.5.13"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -1 +0,0 @@
export {default} from './index';

View File

@ -1 +1 @@
module.exports = require('../embarkjs').default;
module.exports = require('..').default;

View File

@ -10,36 +10,21 @@ module.exports = (api) => {
const browser = cloneDeep(base);
Object.assign(browser, {
ignore: [
'src/embarkjs.js',
'src/node/index.js'
'src/node'
]
});
const node = cloneDeep(base);
Object.assign(node, {
ignore: [
'src/browser.js'
]
});
const nodeAsync = cloneDeep(base);
Object.assign(nodeAsync, {
ignore: [
'src/node/index.js'
]
});
const nodeTest = cloneDeep(base);
const test = cloneDeep(node);
switch (env) {
case 'browser':
return browser;
case 'node':
return node;
case 'node:async':
return nodeAsync;
case 'node:test':
return nodeTest;
case 'test':
return test;
default:
return base;
}

View File

@ -4,7 +4,7 @@
"author": "Iuri Matias <iuri.matias@gmail.com>",
"contributors": [],
"description": "Whisper plugin for embarkjs",
"homepage": "https://github.com/embark-framework/embark/tree/master/packages/embarkjs-whisper#readme",
"homepage": "https://github.com/embark-framework/embark/tree/master/packages/embarkjs/embarkjs-whisper#readme",
"bugs": "https://github.com/embark-framework/embark/issues",
"keywords": [
"blockchain",
@ -17,14 +17,12 @@
],
"license": "MIT",
"repository": {
"directory": "packages/embarkjs-whisper",
"directory": "packages/embarkjs/embarkjs-whisper",
"type": "git",
"url": "https://github.com/embark-framework/embark.git"
},
"main": "dist/node/index.js",
"browser": {
"./dist/node/index.js": "./dist/browser/index.js"
},
"browser": "./dist/browser/index.js",
"browserslist": [
"last 1 version",
"not dead",
@ -33,39 +31,29 @@
"files": [
"dist"
],
"embark-collective": {
"build:browser": true,
"build:node": true
},
"scripts": {
"build": "npm-run-all build:**",
"build:browser": "cross-env BABEL_ENV=browser babel src --extensions \".js\" --out-dir dist/browser --root-mode upward",
"build:node": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"build:node:async": "cross-env BABEL_ENV=node:async babel src/node --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"// build:node:test": "cross-env BABEL_ENV=node:test babel test --extensions \".js\" --out-dir build-test --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"package": "npm pack",
"// qa": "npm-run-all build test package",
"qa": "npm-run-all build package",
"reset": "npx rimraf .nyc_output build-test coverage dist embarkjs-*.tgz package",
"start": "npm run watch",
"// test": "nyc --reporter=html --reporter=json mocha \"build-test/**/*.js\" --exit --no-timeouts --require source-map-support/register",
"watch": "run-p \"build:** -- --verbose --watch\""
"qa": "npm-run-all _build",
"reset": "npx rimraf coverage dist embarkjs-*.tgz package",
"solo": "embark-solo"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"rxjs": "6.4.0",
"web3": "1.2.1"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"ajv": "6.10.2",
"chai": "4.2.0",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"lodash.clonedeep": "4.5.0",
"mocha": "6.2.0",
"npm-run-all": "4.1.5",
"nyc": "13.1.0",
"rimraf": "3.0.0",
"source-map-support": "0.5.13"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -1 +0,0 @@
export {default} from './index';

View File

@ -1 +1 @@
module.exports = require('../embarkjs').default;
module.exports = require('..').default;

View File

@ -10,39 +10,28 @@ module.exports = (api) => {
const browser = cloneDeep(base);
Object.assign(browser, {
ignore: [
'src/embark.js',
'src/node/async.js',
'src/node/index.js'
'src/lib/async.js',
'src/lib/node',
'src/test'
]
});
const node = cloneDeep(base);
Object.assign(node, {
ignore: [
'src/async.js',
'src/browser.js',
'src/node/async.js'
'src/lib/browser'
]
});
const nodeAsync = cloneDeep(base);
Object.assign(nodeAsync, {
ignore: [
'src/node/index.js'
]
});
const nodeTest = cloneDeep(base);
const test = cloneDeep(node);
switch (env) {
case 'browser':
return browser;
case 'node':
return node;
case 'node:async':
return nodeAsync;
case 'node:test':
return nodeTest;
case 'test':
return test;
default:
return base;
}

View File

@ -4,7 +4,7 @@
"author": "Iuri Matias <iuri.matias@gmail.com>",
"contributors": [],
"description": "JavaScript library for easily interacting with web3 technologies",
"homepage": "https://github.com/embark-framework/embark/tree/master/packages/embarkjs#readme",
"homepage": "https://github.com/embark-framework/embark/tree/master/packages/embarkjs/embarkjs#readme",
"bugs": "https://github.com/embark-framework/embark/issues",
"keywords": [
"blockchain",
@ -17,13 +17,14 @@
],
"license": "MIT",
"repository": {
"directory": "packages/embarkjs",
"directory": "packages/embarkjs/embarkjs",
"type": "git",
"url": "https://github.com/embark-framework/embark.git"
},
"main": "dist/node/index.js",
"main": "./dist/lib/node/index.js",
"browser": {
"./dist/node/index.js": "./dist/browser/index.js"
"./dist/lib/node/index.js": "./dist/browser/lib/index.js",
"./dist/browser/lib/async.js": "./dist/browser/lib/browser/async.js"
},
"browserslist": [
"last 1 version",
@ -31,42 +32,39 @@
"> 0.2%"
],
"files": [
"dist"
"dist/browser",
"dist/lib"
],
"embark-collective": {
"build:browser": true,
"build:node": true
},
"scripts": {
"build": "npm-run-all build:**",
"build:browser": "cross-env BABEL_ENV=browser babel src --extensions \".js\" --out-dir dist/browser --root-mode upward",
"build:node": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"build:node:async": "cross-env BABEL_ENV=node:async babel src/node --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"build:node:test": "cross-env BABEL_ENV=node:test babel test --extensions \".js\" --out-dir build-test --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"package": "npm pack",
"qa": "npm-run-all build test package",
"reset": "npx rimraf .nyc_output build-test coverage dist embarkjs-*.tgz package",
"start": "npm run watch",
"test": "nyc --reporter=html --reporter=json mocha \"build-test/**/*.js\" --exit --no-timeouts --require source-map-support/register",
"watch": "run-p \"build:** -- --verbose --watch\""
"qa": "npm-run-all _build test",
"reset": "npx rimraf .nyc_output coverage dist embarkjs-*.tgz package",
"solo": "embark-solo",
"test": "nyc --reporter=html --reporter=json mocha \"dist/test/**/*.js\" --exit --no-timeouts --require source-map-support/register"
},
"nyc": {
"exclude": [
"**/node_modules/**",
"build-test/**",
"coverage/**"
"coverage/**",
"dist/test/**"
]
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"async-es": "2.6.1",
"colors": "1.3.2"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"ajv": "6.10.2",
"chai": "4.2.0",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"lodash.clonedeep": "4.5.0",
"mocha": "6.2.0",
"npm-run-all": "4.1.5",

View File

@ -1 +0,0 @@
export {default} from './index';

View File

@ -0,0 +1 @@
module.exports = require('..').default;

View File

@ -1 +0,0 @@
module.exports = require('../embark').default;

View File

@ -2,7 +2,7 @@
const {startRPCMockServer, TestProvider} = require('./helpers/blockchain');
const {assert} = require('chai');
const {Blockchain} = require('..');
const {Blockchain} = require('../lib/node');
const {promisify} = require('util');
describe('Blockchain', () => {

View File

@ -25,26 +25,27 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".ts\",\".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint typecheck _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"solo": "embark-solo",
"typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"embark-core": "^4.1.1",
"embark-i18n": "^4.1.1",
@ -52,14 +53,12 @@
"web3": "1.2.1"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"typescript": "3.6.3"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -25,27 +25,28 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/lib/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".ts\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint typecheck _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"test": "nyc --reporter=html --reporter=json mocha dist/test/**/*.js --exit --no-timeouts --require source-map-support/register",
"solo": "embark-solo",
"test": "nyc --reporter=html --reporter=json mocha \"dist/test/**/*.js\" --exit --no-timeouts --require source-map-support/register",
"typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"embark-core": "^4.1.1",
"embark-utils": "^4.1.1",
"fs-extra": "7.0.1",
"fs-extra": "8.1.0",
"globule": "1.2.1",
"prettier-plugin-solidity": "1.0.0-alpha.25",
"semver": "5.6.0",
@ -61,12 +62,13 @@
"@types/semver": "5.5.0",
"@types/web3": "1.0.12",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"mocha": "6.2.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"typescript": "3.6.3"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -25,40 +25,35 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".ts\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint typecheck _build",
"reset": "npx rimraf .nyc_output coverage dist embark-*.tgz package",
"start": "npm run watch",
"// test": "nyc --reporter=html --reporter=json mocha \"dist/test/**/*.js\" --exit --no-timeouts --require source-map-support/register",
"solo": "embark-solo",
"typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"colors": "1.3.2",
"embark-i18n": "^4.1.1",
"remix-debug-debugtest": "0.2.16"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"mocha": "6.2.0",
"embark-solo": "^4.1.1",
"npm-run-all": "4.1.5",
"nyc": "13.1.0",
"rimraf": "3.0.0",
"source-map-support": "0.5.13",
"tslint": "5.16.0",
"typescript": "3.4.5"
"typescript": "3.6.3"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -25,23 +25,18 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf .nyc_output coverage dist embark-*.tgz package",
"start": "npm run watch",
"test": "nyc --reporter=html --reporter=json mocha \"dist/test/**/*.js\" --exit --no-timeouts --require source-map-support/register",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo",
"test": "nyc --reporter=html --reporter=json mocha \"dist/test/**/*.js\" --exit --no-timeouts --require source-map-support/register"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
@ -49,10 +44,11 @@
"dependencies": {
"colors": "1.3.2",
"embark-utils": "^4.1.1",
"fs-extra": "7.0.1",
"fs-extra": "8.1.0",
"web3": "1.2.1"
},
"devDependencies": {
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"expect.js": "0.3.1",
"mocha": "6.2.0",

View File

@ -26,28 +26,23 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"embark-core": "^4.1.1",
"embark-i18n": "^4.1.1",
@ -58,14 +53,10 @@
"web3": "1.2.1"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -25,40 +25,31 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"viz.js": "1.8.2"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -27,28 +27,23 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint process.js src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint process.js src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"colors": "1.3.2",
"embark-core": "^4.1.1",
@ -61,14 +56,10 @@
"shelljs": "0.8.3"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -23,23 +23,18 @@
"files": [
"dist"
],
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch",
"test": "mocha dist/test/**/*.js"
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf .nyc_output dist embark-*.tgz package",
"solo": "embark-solo",
"test": "nyc --reporter=html --reporter=json mocha \"dist/test/**/*.js\" --exit --no-timeouts --require source-map-support/register"
},
"eslintConfig": {
"env": {
@ -48,27 +43,25 @@
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"async": "3.1.0",
"embark-i18n": "^4.1.1",
"embark-utils": "^4.1.1",
"embarkjs": "^4.1.1",
"mocha": "6.2.0",
"web3": "1.2.1"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"@types/async": "2.0.50",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"nyc": "13.1.0",
"refute": "1.0.2",
"rimraf": "3.0.0",
"sinon": "7.4.2",
"tslint": "5.16.0",
"typescript": "3.4.5"
"source-map-support": "0.5.13"
},
"embarkjs": "^4.1.1",
"engines": {
"node": ">=8.12.0 <12.0.0",
"npm": ">=6.4.1",

View File

@ -16,40 +16,32 @@
"dist"
],
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"embark-i18n": "^4.1.1",
"embark-utils": "^4.1.1"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -25,41 +25,32 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"ascii-table": "0.0.9",
"async": "2.6.1",
"web3-utils": "1.2.1"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -0,0 +1,58 @@
/* global __dirname module require */
const cloneDeep = require('lodash.clonedeep');
const {copySync, ensureDirSync} = require('fs-extra');
const glob = require('glob');
const {dirname, join, relative} = require('path');
// @babel/cli v7's --copy-files option does not work well together with
// config-specified ignore paths, and that's a problem for embark-collective
// actions since the @babel/cli invocation must be the same across all packages
// in the collective; so any package in the collective that excludes src/ files
// from transpilation via its package-local .babelrc.js should copy those files
// into dist/, but only if they are expected to be in dist/; .babelrc.js should
// also copy any non .js,.ts files into /dist
// in this case we want we want to copy .hbs files
function copyFiles (ignored) {
const others = glob.sync(
join(__dirname, 'src/**/*.*'),
{ignore: [
join(__dirname, 'src/**/*.js'),
join(__dirname, 'src/**/*.ts'),
join(__dirname, 'src/**/*.disabled')
]}
).map(path => relative(__dirname, path));
ignored = ignored.concat(others);
ignored
.map(path => path.replace('src/', 'dist/'))
.forEach((dest, index) => {
ensureDirSync(dirname(join(__dirname, dest)));
const source = ignored[index];
copySync(join(__dirname, source), join(__dirname, dest));
});
}
module.exports = (api) => {
const env = api.env();
const base = {};
const node = cloneDeep(base);
if (env === 'node') {
copyFiles([]);
return node;
}
const test = cloneDeep(node);
if (env === 'test') {
copyFiles([]);
return test;
}
return base;
};

View File

@ -25,37 +25,39 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --copy-files --extensions \".ts\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint typecheck _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"solo": "embark-solo",
"typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"ajv": "6.10.2",
"embark-i18n": "^4.1.1",
"embark-utils": "^4.1.1",
"handlebars": "4.2.0"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"fs-extra": "8.1.0",
"glob": "7.1.4",
"lodash.clonedeep": "4.5.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"typescript": "3.6.3"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -1,42 +0,0 @@
const cloneDeep = require('lodash.clonedeep');
module.exports = api => {
const env = api.env();
const base = {
plugins: [
'@babel/plugin-proposal-class-properties',
[
'@babel/plugin-transform-runtime',
{
corejs: 2
}
]
],
presets: ['@babel/preset-env']
};
if (env === 'base' || env.startsWith('base:')) {
return base;
}
const node = cloneDeep(base);
node.presets[0] = [
node.presets[0],
{
targets: { node: '8.11.3' }
}
];
if (env === 'node' || env.startsWith('node:')) {
return node;
}
const test = cloneDeep(node);
if (env === 'test') {
return test;
}
return {};
};

View File

@ -32,34 +32,31 @@
"files": [
"dist"
],
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "eslint babel.config.js src/ test/",
"package": "npm pack",
"qa": "npm-run-all lint build test package",
"lint": "eslint src/ test/",
"qa": "npm-run-all lint _build test",
"reset": "npx rimraf coverage dist embark-*.tgz package",
"start": "npm run watch",
"test": "jest",
"watch": "npm run build -- --verbose --watch"
"solo": "embark-solo",
"test": "jest"
},
"dependencies": {
"@babel/runtime-corejs2": "7.6.0",
"@babel/runtime-corejs2": "7.6.2",
"circom": "0.0.31",
"find-up": "4.1.0",
"glob": "7.1.4",
"snarkjs": "0.1.19"
},
"devDependencies": {
"@babel/cli": "7.5.5",
"@babel/core": "7.5.5",
"@babel/plugin-proposal-class-properties": "7.5.5",
"@babel/plugin-transform-runtime": "7.5.5",
"@babel/preset-env": "7.5.5",
"@babel/core": "7.6.2",
"babel-eslint": "10.0.3",
"babel-jest": "24.9.0",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "6.2.2",
"eslint-config-prettier": "6.1.0",
"eslint-plugin-jest": "22.5.1",
@ -88,7 +85,15 @@
"testEnvironment": "node",
"testMatch": [
"**/test/**/*.js"
],
"transform": {
"\\.js$": [
"babel-jest",
{
"rootMode": "upward"
}
]
}
},
"prettier": {
"singleQuote": true

View File

@ -25,40 +25,32 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --copy-files --extensions \".ts\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"semver": "5.6.0",
"shelljs": "0.8.3"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -23,41 +23,38 @@
"files": [
"dist"
],
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch",
"test": "mocha dist/test/**/*.js"
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf .nyc_output dist embark-*.tgz package",
"solo": "embark-solo",
"test": "nyc --reporter=html --reporter=json mocha \"dist/test/**/*.js\" --exit --no-timeouts --require source-map-support/register"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"@types/async": "2.0.50",
"dependencies": {
"@babel/runtime-corejs2": "7.6.2",
"async": "3.1.0",
"cross-env": "5.2.0",
"remix-tests": "0.1.14",
"web3": "1.2.1",
"yo-yoify": "4.3.0"
},
"devDependencies": {
"@types/async": "2.0.50",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"mocha": "6.2.0",
"npm-run-all": "4.1.5",
"remix-tests": "0.1.14",
"nyc": "13.1.0",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5",
"web3": "1.2.1"
"source-map-support": "0.5.13"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -25,46 +25,37 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"embark-core": "^4.1.1",
"embark-i18n": "^4.1.1",
"embark-utils": "^4.1.1",
"fs-extra": "7.0.1",
"fs-extra": "8.1.0",
"semver": "5.6.0",
"solc": "0.5.0",
"uuid": "3.3.2"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -25,41 +25,32 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"embark-i18n": "^4.1.1",
"viz.js": "1.8.2"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -28,28 +28,23 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint process.js src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint process.js src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"colors": "1.3.2",
"embark-core": "^4.1.1",
@ -61,14 +56,10 @@
"swarm-api": "0.1.2"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -25,28 +25,23 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"embark-core": "^4.1.1",
"embark-i18n": "^4.1.1",
@ -55,15 +50,10 @@
"ethereumjs-util": "6.0.0"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"source-map-support": "0.5.13",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -25,40 +25,31 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"viz.js": "1.8.2"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -25,41 +25,32 @@
"files": [
"dist"
],
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"embark-i18n": "^4.1.1",
"shelljs": "0.8.3"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -0,0 +1,58 @@
/* global __dirname module require */
const cloneDeep = require('lodash.clonedeep');
const {copySync, ensureDirSync} = require('fs-extra');
const glob = require('glob');
const {dirname, join, relative} = require('path');
// @babel/cli v7's --copy-files option does not work well together with
// config-specified ignore paths, and that's a problem for embark-collective
// actions since the @babel/cli invocation must be the same across all packages
// in the collective; so any package in the collective that excludes src/ files
// from transpilation via its package-local .babelrc.js should copy those files
// into dist/, but only if they are expected to be in dist/; .babelrc.js should
// also copy any non .js,.ts files into /dist
// in this case we want we want to copy .ejs files
function copyFiles (ignored) {
const others = glob.sync(
join(__dirname, 'src/**/*.*'),
{ignore: [
join(__dirname, 'src/**/*.js'),
join(__dirname, 'src/**/*.ts'),
join(__dirname, 'src/**/*.disabled')
]}
).map(path => relative(__dirname, path));
ignored = ignored.concat(others);
ignored
.map(path => path.replace('src/', 'dist/'))
.forEach((dest, index) => {
ensureDirSync(dirname(join(__dirname, dest)));
const source = ignored[index];
copySync(join(__dirname, source), join(__dirname, dest));
});
}
module.exports = (api) => {
const env = api.env();
const base = {};
const node = cloneDeep(base);
if (env === 'node') {
copyFiles([]);
return node;
}
const test = cloneDeep(node);
if (env === 'test') {
copyFiles([]);
return test;
}
return base;
};

View File

@ -25,43 +25,36 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps --copy-files",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/core": "7.2.2",
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"ejs": "2.6.1",
"embark-core": "^4.1.1",
"embark-utils": "^4.1.1",
"embarkjs-web3": "^4.1.1"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"fs-extra": "8.1.0",
"glob": "7.1.4",
"lodash.clonedeep": "4.5.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -25,28 +25,23 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"embark-core": "^4.1.1",
"embark-i18n": "^4.1.1",
@ -55,14 +50,10 @@
"rxjs": "6.4.0"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5",
"web3": "1.2.1"
},
"engines": {

View File

@ -25,35 +25,34 @@
"files": [
"dist"
],
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".ts\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint typecheck _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"solo": "embark-solo",
"typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"colors": "1.3.2",
"embark-i18n": "^4.1.1",
"embark-utils": "^4.1.1"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"typescript": "3.6.3"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -25,42 +25,33 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"embark-i18n": "^4.1.1",
"embark-utils": "^4.1.1",
"keccakjs": "0.2.3",
"uuid": "3.3.2"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -1 +0,0 @@
module.exports = require('../../../babel.config.js');

View File

@ -25,29 +25,24 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"test": "jest",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo",
"test": "jest"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"clone-deep": "4.0.0",
"embark-core": "^4.1.1",
@ -55,20 +50,14 @@
"embark-utils": "^4.1.1"
},
"devDependencies": {
"@babel/cli": "7.5.5",
"@babel/core": "7.5.5",
"@babel/plugin-proposal-class-properties": "7.5.5",
"@babel/plugin-transform-runtime": "7.5.5",
"@babel/preset-env": "7.5.5",
"@babel/core": "7.6.2",
"babel-jest": "24.9.0",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"embark-testing": "^5.0.0",
"eslint": "5.7.0",
"jest": "24.9.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",
@ -80,6 +69,14 @@
"testEnvironment": "node",
"testMatch": [
"**/test/**/*.js"
],
"transform": {
"\\.js$": [
"babel-jest",
{
"rootMode": "upward"
}
]
}
}
}

View File

@ -25,34 +25,33 @@
"files": [
"dist"
],
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".ts\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint typecheck _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"solo": "embark-solo",
"typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
},
"dependencies": {
"@babel/runtime-corejs2": "7.6.0",
"@babel/runtime-corejs2": "7.6.2",
"embark-i18n": "^4.1.1",
"embark-utils": "^4.1.1"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"typescript": "3.6.3"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -25,27 +25,28 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js,.ts\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint typecheck _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"solo": "embark-solo",
"typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"clone-deep": "4.0.0",
"embark-core": "^4.1.1",
@ -54,14 +55,12 @@
"web3": "1.2.1"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"typescript": "3.6.3"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -1 +0,0 @@
module.exports = require('../../../babel.config.js');

View File

@ -25,29 +25,24 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"test": "jest",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo",
"test": "jest"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"clone-deep": "4.0.0",
"embark-core": "^4.1.1",
@ -55,20 +50,14 @@
"embark-utils": "^4.1.1"
},
"devDependencies": {
"@babel/cli": "7.5.5",
"@babel/core": "7.5.5",
"@babel/plugin-proposal-class-properties": "7.5.5",
"@babel/plugin-transform-runtime": "7.5.5",
"@babel/preset-env": "7.5.5",
"@babel/core": "7.6.2",
"babel-jest": "24.9.0",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"embark-testing": "^5.0.0",
"eslint": "5.7.0",
"jest": "24.9.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",
@ -80,6 +69,14 @@
"testEnvironment": "node",
"testMatch": [
"**/test/**/*.js"
],
"transform": {
"\\.js$": [
"babel-jest",
{
"rootMode": "upward"
}
]
}
}
}

View File

@ -25,43 +25,34 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"colors": "1.3.2",
"embark-i18n": "^4.1.1",
"embark-utils": "^4.1.1",
"fs-extra": "7.0.1",
"fs-extra": "8.1.0",
"rimraf": "3.0.0"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -26,39 +26,30 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"embark-i18n": "^4.1.1"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -25,45 +25,36 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --copy-files --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"colors": "1.3.2",
"embark-core": "^4.1.1",
"embark-i18n": "^4.1.1",
"embark-utils": "^4.1.1",
"find-up": "2.1.0",
"fs-extra": "7.0.1"
"fs-extra": "8.1.0"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -25,39 +25,30 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"embark-utils": "^4.1.1"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -25,26 +25,27 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".ts\",\".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint typecheck _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"solo": "embark-solo",
"typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"cors": "2.8.5",
"embark-core": "^4.1.1",
"embark-i18n": "^4.1.1",
@ -54,14 +55,12 @@
"web3-core-requestmanager": "1.2.1"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"typescript": "3.6.3"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -27,28 +27,23 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint processes.js src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint processes.js src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"embark-core": "^4.1.1",
"embark-i18n": "^4.1.1",
"embark-utils": "^4.1.1",
@ -56,14 +51,10 @@
"shelljs": "0.8.3"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -25,23 +25,18 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/lib/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch",
"test": "mocha dist/test/**/*.js"
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf .nyc_output dist embark-*.tgz package",
"solo": "embark-solo",
"test": "nyc --reporter=html --reporter=json mocha \"dist/test/**/*.js\" --exit --no-timeouts --require source-map-support/register"
},
"eslintConfig": {
"env": {
@ -50,13 +45,13 @@
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"async": "2.6.1",
"chalk": "2.4.2",
"embark-i18n": "^4.1.1",
"embark-testing": "5.0.0",
"embark-utils": "^4.1.1",
"fs-extra": "7.0.1",
"fs-extra": "8.1.0",
"istanbul-lib-coverage": "2.0.5",
"istanbul-lib-report": "2.0.8",
"istanbul-reports": "2.2.4",
@ -64,18 +59,16 @@
"open": "6.4.0"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"@types/async": "2.0.50",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"mocha": "6.2.0",
"npm-run-all": "4.1.5",
"nyc": "13.1.0",
"refute": "1.0.2",
"rimraf": "3.0.0",
"sinon": "7.4.2",
"tslint": "5.16.0",
"typescript": "3.4.5"
"source-map-support": "0.5.13"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

View File

@ -25,41 +25,32 @@
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/index.js",
"embark-collective": {
"build:node": true
},
"scripts": {
"build": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
"_build": "npm run solo -- build",
"ci": "npm run qa",
"clean": "npm run reset",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src/",
"// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
"package": "npm pack",
"// qa": "npm-run-all lint typecheck build package",
"qa": "npm-run-all lint build package",
"lint": "eslint src/",
"qa": "npm-run-all lint _build",
"reset": "npx rimraf dist embark-*.tgz package",
"start": "npm run watch",
"// typecheck": "tsc",
"watch": "run-p watch:*",
"watch:build": "npm run build -- --verbose --watch",
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
"solo": "embark-solo"
},
"eslintConfig": {
"extends": "../../../.eslintrc.json"
},
"dependencies": {
"@babel/runtime-corejs2": "7.3.1",
"@babel/runtime-corejs2": "7.6.2",
"chokidar": "2.1.6",
"embark-i18n": "^4.1.1",
"embark-utils": "^4.1.1"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"cross-env": "5.2.0",
"embark-solo": "^4.1.1",
"eslint": "5.7.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"tslint": "5.16.0",
"typescript": "3.4.5"
"rimraf": "3.0.0"
},
"engines": {
"node": ">=8.12.0 <12.0.0",

Some files were not shown because too many files have changed in this diff Show More