onesignal-vue 1.0.1 → 2.0.0-beta.1
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.
- package/.eslintrc.js +43 -0
- package/.github/ISSUE_TEMPLATE/ask-question.yml +19 -0
- package/.github/ISSUE_TEMPLATE/bug-report.yml +70 -0
- package/.github/ISSUE_TEMPLATE/general-feedback.yml +19 -0
- package/.github/ISSUE_TEMPLATE/workflows/Zapier.yml +34 -0
- package/.github/ISSUE_TEMPLATE/workflows/release-drafter.yml +41 -0
- package/.github/release-drafter.yml +27 -0
- package/.github/workflows/Zapier.yml +34 -0
- package/.github/workflows/release-drafter.yml +41 -0
- package/MigrationGuide.md +251 -0
- package/README.md +50 -40
- package/dist/index.d.ts +140 -118
- package/dist/index.js +470 -9167
- package/dist/index.js.map +1 -1
- package/index.ts +553 -750
- package/package.json +16 -47
- package/tsconfig.json +3 -3
- package/dist/index.es.js +0 -9235
- package/dist/index.es.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,62 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "onesignal-vue",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-beta.1",
|
|
4
4
|
"description": "Vue OneSignal Plugin: Make it easy to integrate OneSignal with your Vue App!",
|
|
5
5
|
"author": "rgomezp",
|
|
6
|
-
"contributors": [
|
|
6
|
+
"contributors": [
|
|
7
|
+
{
|
|
8
|
+
"name": "Rodrigo Gomez-Palacio"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
7
11
|
"license": "MIT",
|
|
8
12
|
"repository": "OneSignal/onesignal-vue",
|
|
9
13
|
"main": "dist/index.js",
|
|
10
|
-
"
|
|
11
|
-
"jsnext:main": "dist/index.es.js",
|
|
12
|
-
"engines": {
|
|
13
|
-
"node": ">=8",
|
|
14
|
-
"npm": ">=5"
|
|
15
|
-
},
|
|
14
|
+
"types": "dist/index.d.ts",
|
|
16
15
|
"scripts": {
|
|
17
|
-
"lint": "./node_modules/.bin/eslint
|
|
18
|
-
"build": "
|
|
16
|
+
"lint": "./node_modules/.bin/eslint . --ext .ts",
|
|
17
|
+
"build": "yarn run lint && tsc",
|
|
19
18
|
"prepare": "yarn run build"
|
|
20
19
|
},
|
|
21
|
-
"
|
|
22
|
-
"@babel/core": "^7.0.0",
|
|
23
|
-
"@babel/plugin-external-helpers": "^7.0.0",
|
|
24
|
-
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
|
25
|
-
"@babel/plugin-proposal-decorators": "^7.0.0",
|
|
26
|
-
"@babel/plugin-proposal-do-expressions": "^7.0.0",
|
|
27
|
-
"@babel/plugin-proposal-export-default-from": "^7.0.0",
|
|
28
|
-
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
|
|
29
|
-
"@babel/plugin-proposal-function-bind": "^7.0.0",
|
|
30
|
-
"@babel/plugin-proposal-function-sent": "^7.0.0",
|
|
31
|
-
"@babel/plugin-proposal-json-strings": "^7.0.0",
|
|
32
|
-
"@babel/plugin-proposal-logical-assignment-operators": "^7.0.0",
|
|
33
|
-
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
|
|
34
|
-
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
|
|
35
|
-
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
|
|
36
|
-
"@babel/plugin-proposal-pipeline-operator": "^7.0.0",
|
|
37
|
-
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
|
|
38
|
-
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
39
|
-
"@babel/plugin-syntax-import-meta": "^7.0.0",
|
|
40
|
-
"@babel/preset-env": "^7.0.0",
|
|
41
|
-
"@types/lodash.isequal": "^4.5.5",
|
|
42
|
-
"@typescript-eslint/eslint-plugin": "^2.19.0",
|
|
43
|
-
"@typescript-eslint/parser": "^2.19.0",
|
|
44
|
-
"babel-eslint": "^10.0.1",
|
|
45
|
-
"cross-env": "^5.2.0",
|
|
46
|
-
"eslint": "^6.8.0",
|
|
47
|
-
"eslint-config-airbnb": "^18.0.1",
|
|
48
|
-
"eslint-plugin-import": "^2.20.1",
|
|
49
|
-
"eslint-plugin-jsx-a11y": "^6.2.3",
|
|
50
|
-
"rollup": "^1.1.2",
|
|
51
|
-
"rollup-plugin-babel": "^4.3.2",
|
|
52
|
-
"rollup-plugin-commonjs": "^9.2.0",
|
|
53
|
-
"rollup-plugin-node-resolve": "^4.0.0",
|
|
54
|
-
"rollup-plugin-peer-deps-external": "^2.2.0",
|
|
55
|
-
"rollup-plugin-typescript2": "^0.17.0",
|
|
56
|
-
"rollup-plugin-url": "^2.1.0",
|
|
57
|
-
"typescript": "^3.7.5",
|
|
20
|
+
"dependencies": {
|
|
58
21
|
"vue": "^2.6.14"
|
|
59
22
|
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"@typescript-eslint/eslint-plugin": "^5.20.0",
|
|
25
|
+
"@typescript-eslint/parser": "^5.20.0",
|
|
26
|
+
"eslint": "^8.13.0",
|
|
27
|
+
"typescript": "^4.6.3"
|
|
28
|
+
},
|
|
60
29
|
"keywords": [
|
|
61
30
|
"onesignal",
|
|
62
31
|
"push",
|
package/tsconfig.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"outDir": "
|
|
3
|
+
"outDir": "dist",
|
|
4
4
|
"module": "esnext",
|
|
5
|
-
"target": "
|
|
5
|
+
"target": "es6",
|
|
6
6
|
"lib": ["es6", "dom", "es2016", "es2017"],
|
|
7
7
|
"sourceMap": true,
|
|
8
8
|
"allowJs": true,
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
"skipLibCheck": true
|
|
22
22
|
},
|
|
23
23
|
"include": ["index.ts"],
|
|
24
|
-
"exclude": ["node_modules", "build", "dist", "example"
|
|
24
|
+
"exclude": ["node_modules", "build", "dist", "example"]
|
|
25
25
|
}
|