|
6 | 6 | "module": "dist/esm/index.js", |
7 | 7 | "types": "dist/esm/index.d.ts", |
8 | 8 | "scripts": { |
| 9 | + "clean": "rimraf ./dist", |
| 10 | + "build": "npm run clean && tsc && rollup -c rollup.config.js", |
| 11 | + "watch": "nodemon -w ./src -w tsconfig.json -w rollup.config.js --exec 'npm run build --silent' -e ts", |
9 | 12 | "lint": "npm run prettier && npm run swiftlint", |
10 | 13 | "lint.fix": "npm run prettier.fix && npm run swiftlint.fix", |
11 | 14 | "prettier": "prettier --check --plugin=./node_modules/prettier-plugin-java \"**/*.{css,html,ts,js,java}\"", |
12 | 15 | "prettier.fix": "prettier --write --check --plugin=./node_modules/prettier-plugin-java \"**/*.{css,html,ts,js,java}\"", |
13 | | - "swiftlint": "node-swiftlint", |
14 | | - "swiftlint.fix": "node-swiftlint autocorrect", |
15 | | - "build": "npm run clean && tsc && rollup -c rollup.config.js", |
16 | | - "clean": "rimraf ./dist", |
17 | | - "watch": "nodemon -w ./src -w tsconfig.json -w rollup.config.js --exec 'pnpm build' -e ts", |
18 | | - "prepublishOnly": "npm run build" |
| 16 | + "swiftlint": "cd ios; node-swiftlint; cd ..", |
| 17 | + "swiftlint.fix": "cd ios; node-swiftlint --fix; cd ..", |
| 18 | + "docgen": "docgen --api WSLoggerPlugin --output-readme README.md", |
| 19 | + "release": "standard-version", |
| 20 | + "push": "git push --follow-tags origin main && npm publish" |
19 | 21 | }, |
20 | 22 | "author": "Aparajita Fishman", |
21 | 23 | "license": "MIT", |
|
38 | 40 | "@capacitor/core": "^2.4.2" |
39 | 41 | }, |
40 | 42 | "files": [ |
41 | | - "dist/", |
42 | | - "ios/", |
43 | | - "android/", |
44 | | - "WillsubNpmCapacitorLogger.podspec" |
| 43 | + "dist/esm/*.d.ts", |
| 44 | + "dist/esm/*.js", |
| 45 | + "ios/Plugin", |
| 46 | + "ios/Podfile", |
| 47 | + "ios/Podfile.lock", |
| 48 | + "android/build.gradle", |
| 49 | + "android/gradle.properties", |
| 50 | + "android/settings.gradle", |
| 51 | + "android/src/main", |
| 52 | + "*.podspec" |
45 | 53 | ], |
46 | 54 | "keywords": [ |
47 | 55 | "capacitor", |
48 | 56 | "plugin", |
49 | | - "native" |
| 57 | + "native", |
| 58 | + "logging", |
| 59 | + "logger", |
| 60 | + "ios", |
| 61 | + "android" |
50 | 62 | ], |
51 | 63 | "capacitor": { |
52 | 64 | "ios": { |
|
0 commit comments