Angular2 .gitignore

前端 未结 1 1022
隐瞒了意图╮
隐瞒了意图╮ 2021-02-05 02:02

I\'m setting up an Angular 2 sample project. Is my .gitignore enough already or did I miss anything?

node_modules
typings
jspm_packages
bower_compon         


        
1条回答
  •  执笔经年
    2021-02-05 02:49

    angular-cli generates

    # See http://help.github.com/ignore-files/ for more about ignoring files.
    
    # compiled output
    /dist
    /tmp
    /out-tsc
    
    # dependencies
    /node_modules
    
    # IDEs and editors
    /.idea
    .project
    .classpath
    .c9/
    *.launch
    .settings/
    *.sublime-workspace
    
    # IDE - VSCode
    .vscode/*
    !.vscode/settings.json
    !.vscode/tasks.json
    !.vscode/launch.json
    !.vscode/extensions.json
    
    # misc
    /.sass-cache
    /connect.lock
    /coverage
    /libpeerconnection.log
    npm-debug.log
    testem.log
    /typings
    
    # e2e
    /e2e/*.js
    /e2e/*.map
    
    # System Files
    .DS_Store
    Thumbs.db
    

    0 讨论(0)
提交回复
热议问题