Skip to content

Commit

Permalink
add postinstall script
Browse files Browse the repository at this point in the history
added a postinstall script which will build the styles.ts file when you
first clone the project. This step had to be done manually before and
lead to TS errors if you forgot it.
  • Loading branch information
nkappler committed Jun 14, 2022
1 parent 9cdf07d commit bdc40a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"test": "tsc test/demo.ts --outDir docs --removeComments",
"prepublishOnly": "npm run version",
"version": "node util/copyrightHeader.js && npm run build && npm run test && git add *",
"postinstall": "node util/convertStyles.js",
"build": "node util/convertStyles.js && rollup -c"
},
"repository": {
Expand Down

0 comments on commit bdc40a2

Please sign in to comment.