0.4.5-d • Published 6 years ago
phraseanet-common v0.4.5-d
Phraseanet Common
Requirements
Node ^5.0.0
.
$ npm install # Install Node modules listed in ./package.json
$ npm webpack # Build a non-minified version of the library
Workflow
npm run production
- Build task that generate a minified script for productionnpm run clean
- Remove thedist
folder and it's filesnpm run eslint:source
- Lint the sourcenpm run eslint:common
- Lint the unit tests shared by Karma and Mochanpm run eslint:server
- Lint the unit tests for servernpm run eslint:browser
- Lint the unit tests for browsernpm run eslint:fix
- ESLint will try to fix as many issues as possible in your source filesnpm run clean
- Remove the coverage report and the dist foldernpm run test
- Runs unit tests for both server and the browsernpm run test:browser
- Runs the unit tests for browser / clientnpm run test:server
- Runs the unit tests on the servernpm run watch:server
- Run all unit tests for server & watch files for changesnpm run watch:browser
- Run all unit tests for browser & watch files for changesnpm run karma:firefox
- Run all unit tests with Karma & Firefoxnpm run karma:chrome
- Run all unit tests with Karma & Chromenpm run karma:ie
- Run all unit tests with Karma & Internet Explorernpm run packages
- List installed packagesnpm run package:purge
- Remove all dependenciesnpm run package:reinstall
- Reinstall all dependenciesnpm run package:check
- shows a list over dependencies with a higher version number then the current one - if anynpm run package:upgrade
- Automaticly upgrade all devDependencies & dependencies, and update package.jsonnpm run package:dev
- Automaticly upgrade all devDependencies and update package.jsonnpm run package:prod
- Automaticly upgrade all dependencies and update package.jsonnpm run asset-server
- starts a asset server with hot module replacement (WDS) on port 8080
Asset server
asset server with hot module replacement (WDS) enabled on port 8080.
npm run asset-server
Open http://localhost:8080
, and you will see this message in your browser: It works!
.
Installation
Download the package, and run this from the command line:
npm install
Credits
0.4.5-d
6 years ago
0.4.4-d
6 years ago
0.4.3-d
6 years ago
0.4.2
8 years ago
0.4.1
8 years ago
0.4.0
8 years ago
0.3.2
9 years ago
0.3.1
9 years ago
0.3.0
9 years ago
0.2.11
9 years ago
0.2.10
9 years ago
0.2.9
10 years ago
0.2.8
10 years ago
0.2.7
10 years ago
0.2.6
10 years ago
0.2.5
10 years ago
0.2.4
10 years ago
0.2.3
10 years ago
0.2.2
10 years ago
0.2.1
10 years ago
0.2.0
10 years ago
0.1.1
10 years ago
0.1.0
10 years ago