Skip to content

Commit 23e1046

Browse files
author
John Richard Chipps-Harding
authored
CLI tweak (#13)
* CLI tweak * version bump
1 parent 634a0b7 commit 23e1046

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@phntms/css-components",
33
"description": "At its core, css-components is a simple wrapper around standard CSS. It allows you to write your CSS how you wish then compose them into a component ready to be used in React.",
4-
"version": "0.0.8",
4+
"version": "0.0.9",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
77
"homepage": "https://github.com/phantomstudios/css-components#readme",
@@ -22,8 +22,9 @@
2222
"css-components": "lib/cli/index.js"
2323
},
2424
"scripts": {
25-
"build": "tsc",
25+
"build": "tsc && npm run build:shebang",
2626
"build:types": "tsc --emitDeclarationOnly",
27+
"build:shebang": "echo '#!/usr/bin/env node' | cat - ./lib/cli/index.js > temp && mv temp ./lib/cli/index.js",
2728
"prepublishOnly": "npm run build",
2829
"test": "jest --verbose",
2930
"test:watch": "jest --verbose --watch",

0 commit comments

Comments
 (0)