Closed pdehaan closed 9 years ago
And here's the latest npm run *
tasks:
$ npm run
Available scripts in the loads-web package:
npm run __ |
Code | Description |
---|---|---|
clean |
rm -rf ./{node_modules,client/bower_components} && npm i > /dev/null |
Delete all Node modules and bower components and reinstalls them. |
lint |
eslint . |
Run ESLint against the client and server code. |
outdated |
npm outdated --depth 0 |
Find all outdated npm modules. |
postinstall |
bower update |
Automatically install bower components after running npm install . |
postshrinkwrap |
nsp audit-shrinkwrap |
Automatically check for potentially vulnerable Node modules using the nodesecurity.io database after you run npm run shrinkwrap . |
prestart |
npm run stylus |
Automatically compile Stylus stylesheets before starting the Node server. |
shrinkwrap |
npm shrinkwrap --dev |
Creates a npm-shrinkwrap.json file (including devDependencies) and triggers the postshrinkwrap task. |
start |
PORT=5000 node server |
Start the Node server on port 5000. |
stylus |
stylus --compress client/static/assets/stylus/app.styl --out client/static/assets/css/ |
Compile the Stylus stylesheets and save them in client/static/assets/css/*. |
test |
npm run lint |
Run the npm run lint script. |
r? @darkwing (but not until Monday, don't let me catch you looking at this on a weekend)
Just some general maintenance...
Fixes #49
Current output:
I believe we have a separate tracking bug to remove the mock loads data since it was confusing. (UPDATE: see bug #43)