-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eae6e43
commit a1c6869
Showing
1 changed file
with
10 additions
and
5 deletions.
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,12 +1,18 @@ | ||
{ | ||
"name": "tiny-invariant", | ||
"version": "0.0.3", | ||
"keywords": ["invariant", "error"], | ||
"version": "1.0.0", | ||
"keywords": [ | ||
"invariant", | ||
"error" | ||
], | ||
"description": "A tiny invariant function", | ||
"main": "dist/tiny-invariant.cjs.js", | ||
"module": "dist/tiny-invariant.esm.js", | ||
"sideEffects": false, | ||
"files": ["/dist", "/src"], | ||
"files": [ | ||
"/dist", | ||
"/src" | ||
], | ||
"author": "Alex Reardon <[email protected]>", | ||
"license": "MIT", | ||
"scripts": { | ||
|
@@ -15,8 +21,7 @@ | |
"typecheck": "yarn flow", | ||
"validate": "yarn lint && yarn flow", | ||
"build:clean": "rimraf dist", | ||
"build:flow": | ||
"echo \"// @flow\n\nexport * from '../src';\" > dist/tiny-invariant.cjs.js.flow", | ||
"build:flow": "echo \"// @flow\n\nexport * from '../src';\" > dist/tiny-invariant.cjs.js.flow", | ||
"build:dist": "yarn rollup --config rollup.config.js", | ||
"build": "yarn build:clean && yarn build:dist && yarn build:flow", | ||
"prepublishOnly": "yarn build" | ||
|