zoukankan      html  css  js  c++  java
  • [Angular] Preparing an Angular Application for Continuous Integration (CI)

    "scripts": {
        "ng": "ng",
        "start": "ng serve  --proxy-config ./proxy.json",
        "server": "ts-node -P ./server/server.tsconfig.json ./server/server.ts",
        "build": "ng build",
        "test": "ng test",
        "lint": "ng lint",
        "cypress:open": "cypress open",
        "cypress:run": "cypress run",
        "build:prod": "ng build --prod",
        "start:prod": "http-server ./dist -a localhost -p 4200",
        // run in order build:prod first, then start:prod
        "build-and-start:prod": "run-s build:prod start:prod",
        // wait build-and-start:prod finish at localhost:4200, then run cypress:run
        "e2e": "start-server-and-test build-and-start:prod http://localhost:4200 cypress:run"
      },
  • 相关阅读:
    的地方d'fe'w
    日期
    equals方法
    接口作为成员变量类型
    匿名内部类注意事项
    匿名内部类
    局部内部类注意问题
    可以
    C中的volatile关键字
    继承权限问题
  • 原文地址:https://www.cnblogs.com/Answer1215/p/12271805.html
Copyright © 2011-2022 走看看