5.0.2 • Published 4 years ago

dool v5.0.2

Weekly downloads
17
License
MIT
Repository
github
Last release
4 years ago

dool

d-band tool & dev tool based on webpack, changed from atool

________               ______
___  __ \______ ______ ___  /
__  / / /_  __ \_  __ \__  / 
_  /_/ / / /_/ // /_/ /_  /  
/_____/  \____/ \____/ /_/ 

NPM version NPM downloads Build Status Coverage Status Dependency Status Greenkeeper badge


Install

$ npm install dool -g

Usage

$ dool -h

  Usage: dool <command> [options]

  Commands:
    init    Initialize project
    build   Build project
    server  Serve project

  Options:
    --version, -v  Show version number
    --help, -h     Show help

    
$ dool build -h

  Usage: dool build [options]

  Options:
    --version, -v      Show version number                               [boolean]
    --help, -h         Show help                                         [boolean]
    --compress         Build with compress                         [default: true]
    --extract          Build with extract CSS                      [default: true]
    --config           Custom config path           [default: "webpack.config.js"]
    --hash             Build with hash and output map.json        [default: false]
    --watch, -w        Watch and rebuild                          [default: false]
    --cluster          Run build with cluster                     [default: false]
    --output-path, -o  Output path                             [default: "./dist"]
    --public-path, -P  Public path                                        [string]
    --devtool          SourceMap generate method                          [string]
    --verbose          Show more details                          [default: false]

asciicast

Configuration

  • configuration file: .doolrc or .doolrc.js
  • .doolrc is JSON file
  • .doolrc.js support export Object or Function
// .doolrc
{
  entry: Object,
  files: String | Array,
  filesBase: String,
  publicPath: String,
  outputPath: String,
  babelPlugins: Array,
  babelProposals: Object,
  babelEnvOptions: Object,
  postcssPlugins: Object | Array,
  autoprefixer: false | Object,
  define: Object,
  externals: Object,
  extract: Boolean,
  cssModules: true | Array,
  cssSourceMap: Boolean,
  commons: true | Object | Array,
  compress: Boolean,
  manifest: Boolean | Object,
  hash: Boolean,
  devtool: String,
  devServer: Object
}

Report a issue

License

dool is available under the terms of the MIT License.

5.0.2

4 years ago

5.0.1

4 years ago

5.0.0

4 years ago

4.3.7

5 years ago

4.3.6

5 years ago

4.3.5

5 years ago

4.3.4

6 years ago

4.3.3

6 years ago

4.3.2

6 years ago

4.3.1

6 years ago

4.3.0

6 years ago

4.2.3

6 years ago

4.2.2

6 years ago

4.2.1

6 years ago

4.2.0

6 years ago

4.1.3

6 years ago

4.1.2

6 years ago

4.1.1

7 years ago

4.1.0

7 years ago

4.0.4

7 years ago

4.0.3

7 years ago

4.0.2

7 years ago

4.0.1

7 years ago

4.0.0

7 years ago

3.2.0

8 years ago

3.1.1

8 years ago

3.1.0

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago

2.0.0-beta.2

9 years ago

2.0.0-beta.1

9 years ago

1.2.3

9 years ago

1.2.2

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.0.16

10 years ago

0.0.15

10 years ago

0.0.14

10 years ago

0.0.13

10 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago