mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(build): changed from postinstall script to regular grunt task for the copying of npm dependencies into public dir, fixes #4003
This commit is contained in:
parent
814ca99e3d
commit
f797b19825
@ -59,8 +59,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "grunt test",
|
"test": "grunt test",
|
||||||
"coveralls": "grunt karma:coveralls && rm -rf ./coverage",
|
"coveralls": "grunt karma:coveralls && rm -rf ./coverage"
|
||||||
"postinstall": "./node_modules/.bin/grunt copy:node_modules"
|
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -8,6 +8,7 @@ module.exports = function(grunt) {
|
|||||||
'jscs',
|
'jscs',
|
||||||
'tslint',
|
'tslint',
|
||||||
'clean:release',
|
'clean:release',
|
||||||
|
'copy:node_modules',
|
||||||
'copy:public_to_gen',
|
'copy:public_to_gen',
|
||||||
'typescript:build',
|
'typescript:build',
|
||||||
'karma:test',
|
'karma:test',
|
||||||
|
@ -8,6 +8,7 @@ module.exports = function(grunt) {
|
|||||||
'jshint',
|
'jshint',
|
||||||
'tslint',
|
'tslint',
|
||||||
'clean:gen',
|
'clean:gen',
|
||||||
|
'copy:node_modules',
|
||||||
'copy:public_to_gen',
|
'copy:public_to_gen',
|
||||||
'phantomjs',
|
'phantomjs',
|
||||||
'css',
|
'css',
|
||||||
|
Loading…
Reference in New Issue
Block a user