Skip to content

Commit

Permalink
Add build
Browse files Browse the repository at this point in the history
  • Loading branch information
djhi committed Aug 2, 2021
1 parent f1fe4fe commit 1458be2
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 33 deletions.
78 changes: 45 additions & 33 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,47 @@
{
"name": "ra-supabase",
"version": "1.0.0",
"main": "index.js",
"repository": "[email protected]:marmelab/ra-supabase.git",
"author": "Gildas Garcia <[email protected]>",
"license": "MIT",
"dependencies": {
"@supabase/supabase-js": "^1.21.0",
"ra-core": "^3.17.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.28.5",
"@typescript-eslint/parser": "^4.28.5",
"eslint": "^7.7.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-react-app": "^5.2.1",
"eslint-plugin-cypress": "^2.11.1",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-hooks": "^4.1.0",
"husky": "^2.3.0",
"jest": "26.6.0",
"prettier": "~2.1.1",
"typescript": "^4.3.4"
},
"scripts": {
"build": "",
"test": "",
"lint": "eslint --fix ./src"
}
"name": "ra-supabase",
"version": "1.0.0",
"repository": "[email protected]:marmelab/ra-supabase.git",
"author": "Gildas Garcia <[email protected]>",
"license": "MIT",
"files": [
"*.md",
"lib",
"esm",
"src"
],
"main": "lib/index",
"module": "esm/index.js",
"types": "esm/index.d.ts",
"sideEffects": false,
"dependencies": {
"@supabase/supabase-js": "^1.21.0",
"ra-core": "^3.17.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.28.5",
"@typescript-eslint/parser": "^4.28.5",
"eslint": "^7.7.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-react-app": "^5.2.1",
"eslint-plugin-cypress": "^2.11.1",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-hooks": "^4.1.0",
"husky": "^2.3.0",
"jest": "26.6.0",
"prettier": "~2.1.1",
"rimraf": "^3.0.2",
"typescript": "^4.3.4"
},
"scripts": {
"build": "yarn run build-cjs && yarn run build-esm",
"build-cjs": "rimraf ./lib && tsc",
"build-esm": "rimraf ./esm && tsc --outDir esm --module es2015",
"watch": "tsc --outDir esm --module es2015 --watch",
"lint": "eslint --fix ./src"
}
}
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './dataProvider';

0 comments on commit 1458be2

Please sign in to comment.