bulma/docs/package.json
Thomas Citharel 08c1344cc5
Replace node-sass (depreciated) by sass (Dart) in the docs directory
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-21 18:28:22 +02:00

32 lines
1.2 KiB
JSON

{
"name": "bulma-docs",
"version": "1.0.0",
"main": "index.html",
"author": "Jeremy Thomas <bbxdesign@gmail.com> (https://jgthms.com)",
"license": "MIT",
"devDependencies": {
"autoprefixer": "^9.7.6",
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015-ie": "^6.7.0",
"clean-css-cli": "^4.3.0",
"metalsmith": "^2.3.0",
"metalsmith-filter": "^1.0.2",
"postcss-cli": "^7.1.0",
"sass": "^1.33.0"
},
"scripts": {
"css-build": "npm run css-sass && npm run css-autoprefix && npm run css-cleancss",
"css-autoprefix": "postcss --use autoprefixer --map false --output css/bulma-docs.css css/bulma-docs.css",
"css-cleancss": "cleancss -o css/bulma-docs.min.css css/bulma-docs.css",
"css-sass": "sass bulma-docs.scss css/bulma-docs.css",
"css-watch": "npm run css-sass -- --watch",
"deploy": "npm run css-build && npm run js-build",
"js-build": "babel _javascript --out-dir lib",
"js-watch": "npm run js-build -- --watch",
"start": "npm run css-watch | npm run js-watch",
"start-test": "npm run test-scss -- --watch",
"test-scss": "sass bulma-test.scss css/bulma-test.css"
}
}