Readme in Czech (Readme v Češtině)
Devstack basic set of development tools.
Compile the babel code into ecmascript above the directory "src/js/". The compiled code is moved to the directory "lib/js/".
Delete the directories "div/", "lib/".
Run the example.
Run static code analysis with eslint over the directories "src/js/", "test/".
Help for the application 'dh-run'.
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.
Run tests over the directory "src/js/".
The current version of the application 'dh-run'.
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].