@pastable/react
Version:
75 lines • 1.95 kB
JSON
{
"name": "@pastable/react",
"version": "0.1.15",
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/index.module.js",
"types": "dist/index.d.ts",
"typings": "dist/index.d.ts",
"exports": {
"require": "./dist/index.js",
"default": "./dist/index.modern.js"
},
"repository": {
"type": "git",
"url": "https://github.com/astahmer/pastable.git"
},
"author": "Alexandre Stahmer <alexandre.stahmer@gmail.com>",
"devDependencies": {
"@pastable/test-utils": "0.0.0",
"@testing-library/react": "^12.1.2",
"@testing-library/react-hooks": "^7.0.2",
"@types/react": "^17.0.39",
"@types/react-test-renderer": "^17.0.1",
"react-test-renderer": "^17.0.2"
},
"dependencies": {
"jotai": "^1.5.3",
"@pastable/typings": "0.0.8",
"@pastable/utils": "0.1.15",
"react": "^17.0.2"
},
"peerDependencies": {
"jotai": "*",
"react": ">=17"
},
"peerDependenciesMeta": {
"jotai": {
"optional": true
}
},
"publishConfig": {
"access": "public"
},
"files": [
"dist",
"src"
],
"engines": {
"node": ">=14.x"
},
"keywords": [
"pastable",
"snippets",
"reusable",
"utils",
"tiny",
"lodash",
"gists",
"typescript",
"react"
],
"scripts": {
"build": "microbundle build --tsconfig tsconfig.build.json",
"dev": "microbundle watch",
"test": "uvu -r @swc-node/register -r tsconfig-paths/register tests",
"tw": "pnpm test && watchlist tests -- pnpm test",
"coverage": "c8 --all pnpm test",
"coverage:open": "node -r @swc-node/register -r tsconfig-paths/register src/openFileInBrowser",
"coverage:view": "c8 --reporter=lcov --all pnpm test",
"release": "standard-version -t @pastable/react\\@ --path .",
"prebuild": "rimraf dist",
"publish:dry": "pnpm prebuild && pnpm test && pnpm build",
"release-publish": "pnpm run release && pnpm publish"
}
}