96 lines
2.8 KiB
JSON
96 lines
2.8 KiB
JSON
{
|
|
"name": "jotai-scope",
|
|
"description": "👻🔭",
|
|
"version": "0.7.2",
|
|
"author": "Daishi Kato",
|
|
"contributors": [
|
|
"yf-yang (https://github.com/yf-yang)",
|
|
"David Maskasky (https://github.com/dmaskasky)"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/jotaijs/jotai-scope.git"
|
|
},
|
|
"source": "./src/index.ts",
|
|
"main": "./dist/index.umd.js",
|
|
"module": "./dist/index.modern.js",
|
|
"types": "./dist/src/index.d.ts",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"types": "./dist/src/index.d.ts",
|
|
"module": "./dist/index.modern.js",
|
|
"import": "./dist/index.modern.mjs",
|
|
"default": "./dist/index.umd.js"
|
|
}
|
|
},
|
|
"sideEffects": false,
|
|
"files": [
|
|
"src",
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"compile": "microbundle build -f modern,umd --globals react=React --no-compress",
|
|
"postcompile": "cp dist/index.modern.mjs dist/index.modern.js && cp dist/index.modern.mjs.map dist/index.modern.js.map",
|
|
"test": "run-s eslint tsc-test jest",
|
|
"eslint": "eslint --ext .js,.ts,.tsx .",
|
|
"jest": "jest",
|
|
"tsc-test": "tsc --project . --noEmit",
|
|
"examples:01_isolation": "DIR=01_isolation EXT=tsx webpack serve",
|
|
"examples:02_removeScope": "DIR=02_removeScope EXT=tsx webpack serve",
|
|
"examples:03_nested": "DIR=03_nested EXT=tsx webpack serve",
|
|
"examples:04_derived": "DIR=04_derived EXT=tsx webpack serve"
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "jsdom",
|
|
"preset": "ts-jest/presets/js-with-ts",
|
|
"testPathIgnorePatterns": [
|
|
"utils.ts"
|
|
]
|
|
},
|
|
"keywords": [
|
|
"jotai",
|
|
"react",
|
|
"scope"
|
|
],
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@testing-library/dom": "^9.3.3",
|
|
"@testing-library/react": "^14.0.0",
|
|
"@testing-library/user-event": "^14.5.1",
|
|
"@types/jest": "^29.5.6",
|
|
"@types/node": "^20.8.7",
|
|
"@types/react": "^18.2.31",
|
|
"@types/react-dom": "^18.2.14",
|
|
"@typescript-eslint/eslint-plugin": "^6.8.0",
|
|
"@typescript-eslint/parser": "^6.8.0",
|
|
"eslint": "^8.52.0",
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
"eslint-plugin-import": "^2.29.0",
|
|
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
"eslint-plugin-prettier": "^5.0.1",
|
|
"eslint-plugin-react": "^7.33.2",
|
|
"html-webpack-plugin": "^5.5.3",
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"jotai": "2.9.2",
|
|
"microbundle": "^0.15.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^3.0.3",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-error-boundary": "^4.0.11",
|
|
"ts-jest": "^29.1.1",
|
|
"ts-loader": "^9.5.0",
|
|
"typescript": "^5.2.2",
|
|
"webpack": "^5.89.0",
|
|
"webpack-cli": "^5.1.4",
|
|
"webpack-dev-server": "^4.15.1"
|
|
},
|
|
"peerDependencies": {
|
|
"jotai": ">=2.9.2",
|
|
"react": ">=17.0.0"
|
|
}
|
|
}
|