Add custom deploy step to build script

This commit is contained in:
Skylar Hill 2023-12-19 01:14:05 -06:00
parent 139156c724
commit 9e8edb347e

View file

@ -24,8 +24,8 @@
"copy-files": "^0.1.0", "copy-files": "^0.1.0",
"immutable-css-cli": "^1.1.1", "immutable-css-cli": "^1.1.1",
"normalize.css": "^8.0.0", "normalize.css": "^8.0.0",
"tachyons-modules": "^1.1.10",
"tachyons-cli": "^1.3.2", "tachyons-cli": "^1.3.2",
"tachyons-modules": "^1.1.10",
"watch": "^1.0.2" "watch": "^1.0.2"
}, },
"contributors": [ "contributors": [
@ -41,9 +41,13 @@
"scripts": { "scripts": {
"start": "npm run build:watch", "start": "npm run build:watch",
"mutations": "immutable-css src/tachyons.css --strict", "mutations": "immutable-css src/tachyons.css --strict",
"build": "npm run build:css && npm run build:minify", "build": "npm run build:css && npm run build:minify && npm run build:skylark-deploy",
"build:css": "tachyons src/tachyons.css > css/tachyons.css", "build:css": "tachyons src/tachyons.css > css/tachyons.css",
"build:minify": "tachyons src/tachyons.css --minify > css/tachyons.min.css", "build:minify": "tachyons src/tachyons.css --minify > css/tachyons.min.css",
"build:watch": "watch \"npm run build\" ./src/" "build:watch": "watch \"npm run build\" ./src/",
"build:skylark-deploy": "cp ./css/tachyons.min.css ../src/assets/tachyons.min.css"
},
"dependencies": {
"vscode-html-languageservice": "^5.1.1"
} }
} }