aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorJamie Kyle <me@thejameskyle.com>2019-05-01 22:17:21 +0300
committerJamie Kyle <me@thejameskyle.com>2019-05-02 03:45:10 +0300
commit436fe821b81675f1aa6d03c30dc3a3604f8d2781 (patch)
treebc750c1728f90ef75f4b266c25b3ee6707c1bb18 /package.json
init commit
Diffstat (limited to 'package.json')
-rw-r--r--package.json45
1 files changed, 45 insertions, 0 deletions
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..0d959ed
--- /dev/null
+++ b/package.json
@@ -0,0 +1,45 @@
+{
+ "name": "unstated-next",
+ "version": "0.0.0",
+ "description": "200 bytes to never think about React state management libraries ever again",
+ "source": "src/unstated-next.tsx",
+ "main": "dist/unstated-next.js",
+ "module": "dist/unstated-next.mjs",
+ "unpkg": "dist/unstated-next.umd.js",
+ "types": "dist/unstated-next.d.ts",
+ "amdName": "UnstatedNext",
+ "sideEffects": false,
+ "scripts": {
+ "format": "prettier --write '**'",
+ "example": "parcel example/index.html --out-dir example/dist",
+ "build": "rm -rf dist && microbundle --external react --globals react=React --strict --no-compress",
+ "test": "ava"
+ },
+ "keywords": [],
+ "author": "",
+ "license": "MIT",
+ "devDependencies": {
+ "@types/react": "^16.8.15",
+ "@types/react-dom": "^16.8.4",
+ "ava": "^1.4.1",
+ "husky": "^2.1.0",
+ "lint-staged": "^8.1.5",
+ "microbundle": "^0.11.0",
+ "prettier": "^1.17.0",
+ "react": "^16.8.6",
+ "react-dom": "^16.8.6",
+ "ts-node": "^8.1.0",
+ "typescript": "^3.4.5"
+ },
+ "husky": {
+ "hooks": {
+ "pre-commit": "lint-staged"
+ }
+ },
+ "lint-staged": {
+ "*": [
+ "prettier --write",
+ "git add"
+ ]
+ }
+}