-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update build commands documentation
- Loading branch information
Showing
9 changed files
with
36 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"title": "Build Tasks", | ||
"template": "doc" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Note that these commands are related only to SourceJS engine build and development cycle. | ||
|
||
For building specs and other project related content use own build tasks from `sourcejs/user` folder. | ||
|
||
## Scripts | ||
|
||
All automation tasks are triggered through NPM scripts listed in `package.json`. | ||
|
||
Here's a list of most common commands: | ||
|
||
```js | ||
$ npm run build | ||
$ npm start | ||
|
||
$ npm run watch | ||
$ npm run watch:css | ||
|
||
$ npm run lint | ||
|
||
$ npm test | ||
$ npm run test:unit | ||
$ npm run test:func | ||
``` | ||
|
||
* `npm run build` - default build command for preparing SourceJS assets, used as a post-install hook and after plugin installation | ||
* `npm start` - runs the engine | ||
* `npm run watch` - runs engine sources watcher, used in core client-side modules development |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters