mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-22 15:39:59 +00:00
Merge pull request #20196 from twbs/v4-dev-xmr-shx
Use shx so that the npm scripts work everywhere the same.
This commit is contained in:
commit
c3e33d85d7
895
grunt/npm-shrinkwrap.json
generated
895
grunt/npm-shrinkwrap.json
generated
File diff suppressed because it is too large
Load Diff
@ -18,11 +18,11 @@
|
|||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"change-version": "node grunt/change-version.js",
|
"change-version": "node grunt/change-version.js",
|
||||||
"shrinkwrap": "npm shrinkwrap --dev && mv ./npm-shrinkwrap.json ./grunt/npm-shrinkwrap.json",
|
|
||||||
"eslint": "eslint --config js/.eslintrc.json js/src",
|
"eslint": "eslint --config js/.eslintrc.json js/src",
|
||||||
"jscs": "jscs --config=js/.jscsrc js/src js/tests/unit docs/assets/js/src docs/assets/js/ie*.js grunt Gruntfile.js",
|
"jscs": "jscs --config=js/.jscsrc js/src js/tests/unit docs/assets/js/src docs/assets/js/ie*.js grunt Gruntfile.js",
|
||||||
"postcss": "postcss --config grunt/postcss.js --replace dist/css/*.css",
|
"postcss": "postcss --config grunt/postcss.js --replace dist/css/*.css",
|
||||||
"postcss-docs": "postcss --config grunt/postcss.js --no-map --replace docs/assets/css/docs.min.css && postcss --config grunt/postcss.js --no-map --replace docs/examples/**/*.css",
|
"postcss-docs": "postcss --config grunt/postcss.js --no-map --replace docs/assets/css/docs.min.css && postcss --config grunt/postcss.js --no-map --replace docs/examples/**/*.css",
|
||||||
|
"shrinkwrap": "npm shrinkwrap --dev && shx mv ./npm-shrinkwrap.json ./grunt/npm-shrinkwrap.json",
|
||||||
"test": "npm run eslint && npm run jscs && grunt test"
|
"test": "npm run eslint && npm run jscs && grunt test"
|
||||||
},
|
},
|
||||||
"style": "dist/css/bootstrap.css",
|
"style": "dist/css/bootstrap.css",
|
||||||
@ -70,6 +70,7 @@
|
|||||||
"postcss-cli": "^2.5.2",
|
"postcss-cli": "^2.5.2",
|
||||||
"postcss-flexbugs-fixes": "^2.0.0",
|
"postcss-flexbugs-fixes": "^2.0.0",
|
||||||
"shelljs": "^0.7.0",
|
"shelljs": "^0.7.0",
|
||||||
|
"shx": "^0.1.2",
|
||||||
"time-grunt": "^1.2.1"
|
"time-grunt": "^1.2.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user