remove bower dependancy and covert packages to npm
This commit is contained in:
6
xclap.ts
6
xclap.ts
@@ -2,11 +2,11 @@ const { load, exec, concurrent, serial } = require('@xarc/run');
|
||||
|
||||
load({
|
||||
build: ['postinstall', exec('gulp'), 'prettier'],
|
||||
'bower:install': [exec('bower install'), 'prettier'],
|
||||
clean: exec('rimraf public coverage vendor'),
|
||||
prettier: exec('prettier --write .'),
|
||||
// Temp run prettier twice to format some of bootstrap less files
|
||||
prettier: [exec('prettier --write .'), exec('prettier --write .')],
|
||||
lint: ['prettier'],
|
||||
postinstall: ['clean', exec('gulp postinstall'), 'bower:install'],
|
||||
postinstall: ['clean', exec('gulp postinstall')],
|
||||
test: ['build', 'lint', 'test-jest', 'test-js'],
|
||||
'test-jest': [exec('jest --clearCache'), exec('jest --verbose --coverage')],
|
||||
'test-js': 'phantomjs tests/run.js',
|
||||
|
||||
Reference in New Issue
Block a user