Skip to content

Commit

Permalink
style: prettify a few files (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
tafelnl authored May 3, 2024
1 parent 7fb355d commit e347d02
Show file tree
Hide file tree
Showing 8 changed files with 959 additions and 944 deletions.
12 changes: 6 additions & 6 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module.exports = {
preset: 'ts-jest',
verbose: true,
testEnvironment: 'node',
globals: {
window: {}
}
preset: 'ts-jest',
verbose: true,
testEnvironment: 'node',
globals: {
window: {},
},
};
126 changes: 63 additions & 63 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,67 +1,67 @@
{
"name": "@byteowls/capacitor-oauth2",
"version": "6.0.0",
"description": "Capacitor OAuth 2 client plugin",
"author": "Michael Oberwasserlechner",
"homepage": "https://github.com/moberwasserlechner/capacitor-oauth2",
"license": "MIT",
"main": "dist/esm/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"scripts": {
"build": "npm run clean && tsc",
"clean": "rimraf ./dist",
"watch": "tsc --watch",
"test": "jest",
"removePacked": "rimraf -g byteowls-capacitor-oauth2-*.tgz",
"publishLocally": "npm run removePacked && npm run build && npm pack",
"prepublishOnly": "npm run build"
"name": "@byteowls/capacitor-oauth2",
"version": "6.0.0",
"description": "Capacitor OAuth 2 client plugin",
"author": "Michael Oberwasserlechner",
"homepage": "https://github.com/moberwasserlechner/capacitor-oauth2",
"license": "MIT",
"main": "dist/esm/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"scripts": {
"build": "npm run clean && tsc",
"clean": "rimraf ./dist",
"watch": "tsc --watch",
"test": "jest",
"removePacked": "rimraf -g byteowls-capacitor-oauth2-*.tgz",
"publishLocally": "npm run removePacked && npm run build && npm pack",
"prepublishOnly": "npm run build"
},
"files": [
"android/src/main/",
"android/build.gradle",
"dist/",
"ios/ByteowlsCapacitorOauth2/Source",
"ByteowlsCapacitorOauth2.podspec"
],
"keywords": [
"capacitor",
"capacitor-plugin",
"oauth2",
"oauth2-client",
"social-login"
],
"capacitor": {
"ios": {
"src": "ios"
},
"files": [
"android/src/main/",
"android/build.gradle",
"dist/",
"ios/ByteowlsCapacitorOauth2/Source",
"ByteowlsCapacitorOauth2.podspec"
],
"keywords": [
"capacitor",
"capacitor-plugin",
"oauth2",
"oauth2-client",
"social-login"
],
"capacitor": {
"ios": {
"src": "ios"
},
"android": {
"src": "android"
}
},
"repository": {
"type": "git",
"url": "https://github.com/moberwasserlechner/capacitor-oauth2"
},
"bugs": {
"url": "https://github.com/moberwasserlechner/capacitor-oauth2/issues"
},
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"@capacitor/core": "^6.0.0"
},
"dependencies": {},
"devDependencies": {
"@capacitor/android": "^6.0.0",
"@capacitor/core": "^6.0.0",
"@capacitor/ios": "^6.0.0",
"@types/jest": "29.5.4",
"jest": "29.6.4",
"ts-jest": "29.1.1",
"eslint": "8.48.0",
"rimraf": "5.0.1",
"typescript": "4.8.4"
"android": {
"src": "android"
}
},
"repository": {
"type": "git",
"url": "https://github.com/moberwasserlechner/capacitor-oauth2"
},
"bugs": {
"url": "https://github.com/moberwasserlechner/capacitor-oauth2/issues"
},
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"@capacitor/core": "^6.0.0"
},
"dependencies": {},
"devDependencies": {
"@capacitor/android": "^6.0.0",
"@capacitor/core": "^6.0.0",
"@capacitor/ios": "^6.0.0",
"@types/jest": "29.5.4",
"jest": "29.6.4",
"ts-jest": "29.1.1",
"eslint": "8.48.0",
"rimraf": "5.0.1",
"typescript": "4.8.4"
}
}
8 changes: 3 additions & 5 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ export default {
file: 'dist/plugin.js',
format: 'iife',
name: 'capacitorPlugin',
sourcemap: true
sourcemap: true,
},
plugins: [
nodeResolve()
]
};
plugins: [nodeResolve()],
};
Loading

0 comments on commit e347d02

Please sign in to comment.