Skip to content

Commit

Permalink
Bump version to 1.1.0 and prepare package.json for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
m-khvoinitsky committed Mar 28, 2021
1 parent 53ee24a commit 213a705
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "csscolorparser-ts",
"version": "1.0.3",
"version": "1.1.0",
"author": "Dean McNamee <[email protected]>",
"contributors": [
"Mikhail Khvoinitsky <[email protected]>",
Expand All @@ -24,7 +24,11 @@
"main": "dist/cjs/csscolorparser.js",
"module": "dist/esm/csscolorparser.js",
"types": "dist/csscolorparser.d.ts",
"files": [
"dist"
],
"scripts": {
"release": "git diff-index --quiet HEAD && npm test && npm run build && npm publish",
"build": "rm -r dist/* && tsc --outDir dist/esm --module ES6 && tsc --outDir dist/cjs --module CommonJS && mv dist/esm/csscolorparser.d.ts dist/ && rm dist/cjs/csscolorparser.d.ts",
"test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' nyc --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter=html --reporter=lcov --reporter=text mocha"
},
Expand Down

0 comments on commit 213a705

Please sign in to comment.