0.1.19 • Published 3 years ago

dh-scripts-run v0.1.19

Weekly downloads
362
License
-
Repository
-
Last release
3 years ago

dh-scripts-run

Readme in Czech (Readme v Češtině)

Devstack basic set of development tools.

Detail

script build

Compile the babel code into ecmascript above the directory "src/js/". The compiled code is moved to the directory "lib/js/".

script clean

Delete the directories "div/", "lib/".

script eslint

Run static code analysis with eslint over the directories "src/js/", "test/".

script prepublishOnly

Lifecycle script prepublishOnly. Runs only with the "npm publish" command. Executing the script before the "npm publish" itself is run The current script runs the "clean" and "build" scripts.

script test

Run tests over the directory "src/js/".

Usage

In your project install the package dh-scripts-run. In the project directory, run the command:

$ npm install --save dh-scripts-run

Add to the configuration file package.json :

{
  ...
  "scripts": {
    "build": "dh-run build",
    "clean": "dh-run clean",
    "eslint": "dh-run eslint",
    "prepublishOnly": "dh-run prepublishOnly",
    "test": "dh-run test"
  },
  ...
}

Run with command npm run script.

License

MIT

0.1.18

3 years ago

0.1.19

3 years ago

0.1.14

3 years ago

0.1.15

3 years ago

0.1.16

3 years ago

0.1.17

3 years ago

0.1.11

3 years ago

0.1.12

3 years ago

0.1.13

3 years ago

0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.27

3 years ago

0.0.25

3 years ago

0.0.26

3 years ago

0.0.24

3 years ago

0.0.23

3 years ago

0.0.22

3 years ago

0.0.21

3 years ago

0.0.20

3 years ago

0.0.19

3 years ago

0.0.18

4 years ago

0.0.17

4 years ago

0.0.16

4 years ago

0.0.15

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago