Permalink
Browse files

Moved test dependencies and commands to seperate package.json (#339)

  • Loading branch information...
mgbennet authored and eanders-MS committed Nov 6, 2017
1 parent 2eeed9d commit c8f6d0aea1c81cf6674664b193a3e2ae087e0dad
Showing with 66 additions and 13 deletions.
  1. +0 −13 package.json
  2. +41 −0 tests/package.json
  3. +24 −0 tests/tsconfig.json
  4. +1 −0 tsconfig.json
View
@@ -5,10 +5,6 @@
"main": "./app/server/main.js",
"scripts": {
"build": "gulp build",
"test:startbot": "ts-node tests/testBot/testBot.ts",
"test:integration": "cross-env TEST_ENV=1 ELECTRON_NO_ATTACH_CONSOLE=1 mocha -t 20000 --compilers ts:ts-node/register tests/integration/*.ts || exit 0",
"test:unit": "cross-env TEST_ENV=1 ELECTRON_NO_ATTACH_CONSOLE=1 electron-mocha -t 10000 --renderer --compilers ts:ts-node/register tests/unit/*.ts || exit 0",
"test": "npm run test:unit && npm run test:integration",
"pack": "build --dir",
"dist": "build",
"release": "build",
@@ -34,27 +30,21 @@
"devDependencies": {
"@types/async": "2.0.37",
"@types/bunyan": "0.0.35",
"@types/chai": "4.0.0",
"@types/formidable": "1.0.29",
"@types/http-status-codes": "1.0.29",
"@types/jsonwebtoken": "7.2.0",
"@types/mkdirp": "0.3.29",
"@types/mocha": "2.2.41",
"@types/node": "6.0.60",
"@types/react": "15.0.38",
"@types/react-dom": "0.14.23",
"@types/react-split-pane": "0.1.5",
"@types/request": "0.0.31",
"@types/restify": "2.0.38",
"botbuilder": "3.9.0",
"chai": "4.0.2",
"chai-as-promised": "7.1.1",
"cross-env": "5.0.1",
"del": "2.2.2",
"electron": "1.8.1",
"electron-builder": "19.18.0",
"electron-builder-squirrel-windows": "19.18.0",
"electron-mocha": "4.0.0",
"electron-packager": "8.6.0",
"electron-react-devtools": "0.4.0",
"electron-winstaller": "2.5.2",
@@ -73,11 +63,8 @@
"gulp-tsc": "1.2.6",
"gulp-util": "3.0.8",
"license-list": "0.1.3",
"mocha": "3.4.2",
"object-assign": "4.1.0",
"restify": "5.1.0",
"spectron": "3.7.2",
"ts-node": "3.0.6",
"tslib": "1.5.0",
"typescript": "2.3.4",
"vinyl": "2.0.1",
View
@@ -0,0 +1,41 @@
{
"name": "botframework-emulator-tests",
"version": "3.5.32",
"description": "Emulator for the Microsoft Bot Framework. Allows developers to test and debug their bots on localhost.",
"scripts": {
"test:startbot": "ts-node testBot/testBot.ts",
"test:integration": "cross-env TEST_ENV=1 ELECTRON_NO_ATTACH_CONSOLE=1 mocha -t 20000 --compilers ts:ts-node/register integration/*.ts || exit 0",
"test:unit": "cross-env TEST_ENV=1 ELECTRON_NO_ATTACH_CONSOLE=1 electron-mocha -t 10000 --renderer --compilers ts:ts-node/register unit/*.ts || exit 0",
"test": "npm run test:unit && npm run test:integration"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Microsoft/botframework-emulator.git"
},
"keywords": [
"microsoft",
"botframework",
"emulator",
"bot",
"chatbot"
],
"author": "Microsoft Corp.",
"license": "MIT",
"bugs": {
"url": "https://github.com/Microsoft/botframework-emulator/issues"
},
"homepage": "https://github.com/Microsoft/botframework-emulator#readme",
"devDependencies": {
"@types/chai": "4.0.0",
"@types/mocha": "2.2.41",
"chai": "4.0.2",
"chai-as-promised": "7.1.1",
"cross-env": "5.0.1",
"electron-mocha": "4.0.0",
"mocha": "3.4.2",
"spectron": "3.7.2",
"ts-node": "3.0.6"
},
"dependencies": {
}
}
View
@@ -0,0 +1,24 @@
{
"compilerOptions": {
"importHelpers": true,
"module": "commonjs",
"moduleResolution": "node",
"preserveConstEnums": true,
"target": "es6",
"jsx": "react",
"sourceMap": true,
"noImplicitAny": false,
"noImplicitThis": true,
"noEmitOnError": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": true,
"outDir": "app",
"removeComments": true
},
"exclude": [
"build",
"node_modules"
],
"compileOnSave": false
}
View
@@ -20,6 +20,7 @@
"node_modules",
"app",
"build",
"tests",
"install"
],
"compileOnSave": false

0 comments on commit c8f6d0a

Please sign in to comment.