mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Use npm packages for build
This commit is contained in:
@@ -17,7 +17,6 @@ before_script:
|
||||
- node --version
|
||||
- npm --version
|
||||
- travis_retry npm install
|
||||
- travis_retry npm install grunt-cli jake -g
|
||||
- echo '' > ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
|
||||
- sh -c 'if [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ]; then echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
|
||||
- echo 'extension="redis.so"' > ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/redis.ini
|
||||
@@ -62,5 +61,5 @@ script:
|
||||
- php hudson/cleanupSubdefs.php
|
||||
#sqlite db generation should occur once Phraseanet is up to date :
|
||||
- bin/developer phraseanet:regenerate-sqlite
|
||||
- grunt test
|
||||
- ./node_modules/.bin/grunt test
|
||||
- bin/phpunit
|
||||
|
||||
@@ -28,9 +28,9 @@ module.exports = function(grunt) {
|
||||
dist: {
|
||||
options: {
|
||||
components: {
|
||||
"jquery.ui": ["npm", {"grunt": "build"}],
|
||||
"jquery-mobile": ["npm", {"grunt": "dist"}],
|
||||
"tinymce": ["npm", "jake"],
|
||||
"jquery.ui": ["npm", {"../../node_modules/.bin/grunt": "build"}],
|
||||
"jquery-mobile": ["npm", {"../../node_modules/.bin/grunt": "dist"}],
|
||||
"tinymce": ["npm", "../../node_modules/.bin/jake"],
|
||||
"bootstrap": ["npm", {"make": "bootstrap"}],
|
||||
"autobahnjs": [{"make":"build"}]
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "phraseanet",
|
||||
"version": "3.9.0",
|
||||
"devDependencies": {
|
||||
"bower-canary": "latest",
|
||||
"bower": "latest",
|
||||
"mocha-phantomjs": ">=2.0 <3.0",
|
||||
"recess": ">=1.1.0 <1.1.7",
|
||||
"uglify-js": "latest",
|
||||
|
||||
Reference in New Issue
Block a user