@alfalab/bridge-to-native 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +9 -11
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "license": "UNLICENSED",
3
3
  "name": "@alfalab/bridge-to-native",
4
- "version": "0.0.2",
5
- "main": "src/index.ts",
4
+ "version": "0.0.3",
6
5
  "repository": {
7
6
  "type": "git",
8
- "url": "git+https://github.com/core-ds/bridge-to-native"
7
+ "url": "git+https://github.com/core-ds/bridge-to-native.git"
9
8
  },
10
9
  "bugs": {
11
10
  "url": "https://github.com/core-ds/bridge-to-native/issues"
@@ -13,24 +12,20 @@
13
12
  "description": "Утилита для удобной работы веб приложения внутри нативного приложения и коммуникации с ним.",
14
13
  "scripts": {
15
14
  "build": "yarn compile",
15
+ "changelog": "bash bin/fill-changelog-file.sh",
16
16
  "compile": "yarn compile:clean && yarn compile:ts && yarn compile:copy-resources",
17
17
  "compile:copy-package-json": "shx cp package.json .publish/package.json",
18
18
  "compile:copy-resources": "yarn copyfiles -e \"**/*.{[jt]s*(x),snap}\" -e \"**/*.json\" -e \"src/mock/**/*\" -u 1 \"src/**/*\" .publish",
19
19
  "compile:clean": "shx rm -rf .publish",
20
20
  "compile:ts": "tsc --project tsconfig.build.json",
21
+ "create-release-commit": "git add package.json CHANGELOG.md && git commit -m \"$MESSAGE\" && git push origin \"$BRANCH\"",
21
22
  "lint:scripts": "eslint \"**/*.{js,jsx,ts,tsx}\" --ext .js,.jsx,.ts,.tsx",
22
23
  "lint": "yarn lint:scripts && prettier --check \"./src/*.{ts,tsx,js,jsx,json}\"",
23
24
  "lint:fix": "yarn lint:scripts --fix",
25
+ "pub": "npm publish .publish --userconfig \"../.npmrc\" --tag \"$TAG\"",
24
26
  "format": "prettier --write \"./**/*.{ts,tsx,js,jsx,css,json}\"",
25
27
  "test": "jest --silent --collect-coverage",
26
- "release:patch": "yarn compile && npm version patch --no-git-tag-version && yarn compile:copy-package-json && yarn pub",
27
- "release:minor": "yarn compile && npm version minor --no-git-tag-version && yarn compile:copy-package-json && yarn pub",
28
- "release:major": "yarn compile && npm version major --no-git-tag-version && yarn compile:copy-package-json && yarn pub",
29
- "release:beta": "yarn compile && yarn compile:copy-package-json && yarn pub:beta",
30
- "create-release-commit": "git add package.json CHANGELOG.md && git commit -m \"Выпуск версии $VERSION\" && git push origin \"$BRANCH\"",
31
- "changelog": "bash bin/fill-changelog-file.sh",
32
- "pub": "npm publish .publish --userconfig \"../.npmrc\"",
33
- "pub:beta": "cd .publish && npm version \"$BETA_VERSION\" --no-git-tag-version && npm publish --userconfig \"../.npmrc\" --tag beta"
28
+ "release": "yarn compile && npm version \"$VERSION\" --no-git-tag-version && yarn compile:copy-package-json && yarn pub"
34
29
  },
35
30
  "dependencies": {},
36
31
  "devDependencies": {
@@ -105,5 +100,8 @@
105
100
  },
106
101
  "commitlint": {
107
102
  "extends": "./node_modules/arui-presets-lint/commitlint"
103
+ },
104
+ "publishConfig": {
105
+ "registry": "https://registry.npmjs.org"
108
106
  }
109
107
  }