Giter Club home page Giter Club logo

mini-erp's Introduction

설치

** 최소버전 Node version >= 6.0 and NPM >= 3**

git clone --depth 1 https://github.com/luxurymini/mini-erp.git
cd
npm install
npm start

의존성 설치

npm install --global electron, webpack, karma-cli, typescript

빌드

### development
npm run build:dev
npm run build:prod
npm run build:aot 

빌드 실행

npm run launch

릴리스

빌드 먼저 할것

npm run package
npm run package:linux
npm run package:mac
npm run package:windows

의존성 메니져

### if you use yarn
yarn run install-app-deps
### otherwise
npm run install-app-deps

타입s

When you include a module that doesn't include Type Definitions inside of the module you can include external Type Definitions with @types

i.e, to have youtube api support, run this command in terminal:

npm i @types/youtube @types/gapi @types/gapi.youtube

In some cases where your code editor doesn't support Typescript 2 yet or these types weren't listed in tsconfig.json, add these to "src/custom-typings.d.ts" to make peace with the compile check:

import '@types/gapi.youtube';
import '@types/gapi';
import '@types/youtube';

Custom Type Definitions

When including 3rd party modules you also need to include the type definition for the module if they don't provide one within the module. You can try to install it with @types

npm install @types/node
npm install @types/lodash

If you can't find the type definition in the registry we can make an ambient definition in this file for now. For example

declare module "my-module" {
  export function doesSomething(value: string): string;
}

If you're prototyping and you will fix the types later you can also declare it as type any

declare var assert: any;
declare var _: any;
declare var $: any;

If you're importing a module that uses Node.js modules which are CommonJS you need to import as

import * as _ from 'lodash';

mini-erp's People

Contributors

patrickjs avatar katallaxie avatar colinskow avatar greenkeeperio-bot avatar sekibomazic avatar shlomiassaf avatar spittal avatar dotcs avatar jimthedev avatar vsfedorenko avatar samvloeberghs avatar chriscurnow avatar asgerjensen avatar jhuntoo avatar joshwiens avatar jennyraj avatar valorkin avatar opporancisis avatar tamascsaba avatar stefh avatar ocombe avatar ktong avatar foxandxss avatar janrubio avatar dherges avatar nehrdani avatar abdulhaq-e avatar mgechev avatar vivainio avatar kulshekhar avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.