Sfoglia il codice sorgente

Fixes from Windows environment using Visual Studio Code.

Joe Hawkins 8 anni fa
parent
commit
062dd4d038
2 ha cambiato i file con 9 aggiunte e 1 eliminazioni
  1. 7 0
      src/main/angular/README.md
  2. 2 1
      src/main/angular/package.json

+ 7 - 0
src/main/angular/README.md

@@ -1,3 +1,5 @@
+## Set up
+
 ### Build
 ### Build
 Run the following commands
 Run the following commands
 1. `npm i`
 1. `npm i`
@@ -19,3 +21,8 @@ the dist/ folder from http://localhost:8080/
 any file changes, rebuild your code, and run unit tests
 any file changes, rebuild your code, and run unit tests
 * `npm run test-single-run` Builds the code and runs all unit tests a
 * `npm run test-single-run` Builds the code and runs all unit tests a
 one time
 one time
+
+## Known Issues
+
+### Visual Studio Code
+* Jasmine global properties not recognized in Typescript. https://github.com/Microsoft/TypeScript/issues/11620

+ 2 - 1
src/main/angular/package.json

@@ -9,7 +9,7 @@
   },
   },
   "scripts": {
   "scripts": {
     "build": "node_modules/webpack/bin/webpack.js --config=webpack.build.js --NODE_ENV=production",
     "build": "node_modules/webpack/bin/webpack.js --config=webpack.build.js --NODE_ENV=production",
-    "clean": "rm -rf dist",
+    "clean": "node_modules/rimraf/bin.js dist/",
     "test": "node_modules/karma/bin/karma start --NODE_ENV=test",
     "test": "node_modules/karma/bin/karma start --NODE_ENV=test",
     "test-single-run": "node_modules/karma/bin/karma start --NODE_ENV=test --singleRun --no-auto-watch",
     "test-single-run": "node_modules/karma/bin/karma start --NODE_ENV=test --singleRun --no-auto-watch",
     "start": "node_modules/webpack-dev-server/bin/webpack-dev-server.js --config=webpack.dev.js --NODE_ENV=dev"
     "start": "node_modules/webpack-dev-server/bin/webpack-dev-server.js --config=webpack.dev.js --NODE_ENV=dev"
@@ -41,6 +41,7 @@
     "node-sass": "3.10.1",
     "node-sass": "3.10.1",
     "phantomjs": "2.1.7",
     "phantomjs": "2.1.7",
     "phantomjs-prebuilt": "2.1.13",
     "phantomjs-prebuilt": "2.1.13",
+    "rimraf": "2.5.4",
     "sass-loader": "4.0.2",
     "sass-loader": "4.0.2",
     "style-loader": "0.13.1",
     "style-loader": "0.13.1",
     "ts-loader": "0.9.1",
     "ts-loader": "0.9.1",