Skip to content

Commit

Permalink
Fix package
Browse files Browse the repository at this point in the history
  • Loading branch information
etienne-dldc committed Jun 24, 2021
1 parent c01e3d0 commit 696af3e
Showing 1 changed file with 33 additions and 31 deletions.
64 changes: 33 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,33 +22,25 @@
],
"scripts": {
"build": "tsc -p ./tsconfig.build.json",
"lint": "prettier --check src example/src && eslint src example/src",
"example:run": "vite example",
"lint": "tsc --noEmit && prettier --check src example/src && eslint src example/src",
"lint:fix": "prettier --write src example/src && eslint src example/src",
"typecheck": "tsc --noEmit",
"prepublish": "yarn build",
"release": "yarn build && np",
"test": "yarn lint && c8 --reporter=html --reporter=text ava",
"test:watch": "ava --watch",
"example:run": "vite example"
"test:watch": "ava --watch"
},
"ava": {
"extensions": {
"ts": "module",
"tsx": "module"
},
"nodeArguments": [
"--loader=ts-node/esm"
],
"nonSemVerExperiments": {
"configurableModuleFormat": true
}
},
"dependencies": {
"tslib": "^2.2.0"
"prettier": {
"printWidth": 120,
"tabWidth": 2,
"useTabs": false
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"settings": {
"react": {
"version": "detect"
}
},
"plugins": [
"@typescript-eslint"
],
Expand All @@ -59,16 +51,26 @@
"plugin:react-hooks/recommended",
"prettier"
],
"settings": {
"react": {
"version": "detect"
}
"root": true
},
"ava": {
"extensions": {
"ts": "module",
"tsx": "module"
},
"files": [
"src/**/*.test.ts",
"src/**/*.test.tsx"
],
"nodeArguments": [
"--loader=ts-node/esm"
],
"nonSemVerExperiments": {
"configurableModuleFormat": true
}
},
"prettier": {
"printWidth": 120,
"tabWidth": 2,
"useTabs": false
"dependencies": {
"tslib": "^2.2.0"
},
"devDependencies": {
"@types/react": "^17.0.11",
Expand All @@ -90,14 +92,14 @@
"typescript": "^4.3.4",
"vite": "^2.3.8"
},
"peerDependencies": {
"react": "^17.0.0"
},
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"peerDependencies": {
"react": "^17.0.0"
}
}

0 comments on commit 696af3e

Please sign in to comment.