mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-16 01:45:53 -07:00
chore: install cssbundling rails and set up compilation
This commit is contained in:
parent
09ab4d214e
commit
99ef1cb2c8
4670 changed files with 393937 additions and 25 deletions
16
spec/dummy/node_modules/update-browserslist-db/check-npm-version.js
generated
vendored
Normal file
16
spec/dummy/node_modules/update-browserslist-db/check-npm-version.js
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
let { execSync } = require('child_process')
|
||||
let pico = require('picocolors')
|
||||
|
||||
try {
|
||||
let version = parseInt(execSync('npm -v'))
|
||||
if (version <= 6) {
|
||||
process.stderr.write(
|
||||
pico.red(
|
||||
'Update npm or call ' +
|
||||
pico.yellow('npx update-browserslist-db@latest') +
|
||||
'\n'
|
||||
)
|
||||
)
|
||||
process.exit(1)
|
||||
}
|
||||
} catch (e) {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue