forked from deanm/css-color-parser-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump version to 1.1.0 and prepare package.json for publishing
- Loading branch information
1 parent
53ee24a
commit 213a705
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]>", | ||
|
@@ -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" | ||
}, | ||
|