@adtrackify/at-tracking-event-types 1.0.15 → 1.0.19
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/.husky/pre-push +1 -1
- package/README.md +13 -0
- package/bitbucket-pipelines.yml +1 -1
- package/package.json +18 -23
package/.husky/pre-push
CHANGED
package/README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# at-tracking-event-types
|
|
2
|
+
|
|
3
|
+
- Type library for tracking events and related types
|
|
4
|
+
|
|
5
|
+
# build instructions
|
|
6
|
+
|
|
7
|
+
1. make changes to type
|
|
8
|
+
2. to build your changes:
|
|
9
|
+
- npm run build
|
|
10
|
+
3. bump package.json version to update package
|
|
11
|
+
4. package will automatically deploy when push to master
|
|
12
|
+
5. to deploy from command line, run:
|
|
13
|
+
- npm run publish
|
package/bitbucket-pipelines.yml
CHANGED
|
@@ -8,7 +8,7 @@ pipelines:
|
|
|
8
8
|
script:
|
|
9
9
|
- printf "//`node -p \"require('url').parse(process.env.NPM_REGISTRY_URL || 'https://registry.npmjs.org').host\"`/:_authToken=${NPM_TOKEN}\nregistry=${NPM_REGISTRY_URL:-https://registry.npmjs.org}\n" >> ~/.npmrc
|
|
10
10
|
- npm install
|
|
11
|
-
- npm run build
|
|
11
|
+
- npm run build
|
|
12
12
|
branches:
|
|
13
13
|
master:
|
|
14
14
|
- step:
|
package/package.json
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adtrackify/at-tracking-event-types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.19",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"clean": "rimraf dist",
|
|
9
|
-
"build": "node ./node_modules/typescript/bin/tsc",
|
|
10
|
-
"build:dev": "npm run clean && npm run verify && cross-env NODE_ENV=production stage=dev APP_ENV=dev npm run build",
|
|
11
|
-
"build:qa": "npm run clean && npm run verify && cross-env NODE_ENV=production stage=qa APP_ENV=qa webpack",
|
|
12
|
-
"build:prod": "npm run clean && npm run verify && cross-env NODE_ENV=production stage=prod APP_ENV=prod webpack",
|
|
9
|
+
"build": "npm run clean && npm run verify && cross-env NODE_ENV=production stage=dev APP_ENV=dev node ./node_modules/typescript/bin/tsc",
|
|
13
10
|
"elint": "eslint --ignore-path .gitignore .",
|
|
14
11
|
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
|
|
15
12
|
"lint": "tslint -p tsconfig.json",
|
|
@@ -22,40 +19,39 @@
|
|
|
22
19
|
"version": "npm run format && git add -A src",
|
|
23
20
|
"postversion": "git push && git push --tags",
|
|
24
21
|
"push": "npm install && npm run build:dev && npm publish",
|
|
25
|
-
"type-check": "tsc --noEmit"
|
|
26
|
-
|
|
27
|
-
"dependencies": {
|
|
28
|
-
"@types/luxon": "^3.0.0",
|
|
29
|
-
"@types/ua-parser-js": "^0.7.36",
|
|
30
|
-
"ua-parser-js": "^1.0.2"
|
|
22
|
+
"type-check": "tsc --noEmit",
|
|
23
|
+
"prepare": "husky install"
|
|
31
24
|
},
|
|
25
|
+
"dependencies": {},
|
|
32
26
|
"devDependencies": {
|
|
27
|
+
"@types/luxon": "^3.0.1",
|
|
28
|
+
"@types/ua-parser-js": "^0.7.36",
|
|
29
|
+
"ua-parser-js": "^1.0.2",
|
|
33
30
|
"@babel/cli": "^7.13.16",
|
|
34
|
-
"@babel/core": "^7.13
|
|
31
|
+
"@babel/core": "^7.18.13",
|
|
35
32
|
"@babel/plugin-proposal-optional-chaining": "^7.13.8",
|
|
36
33
|
"@babel/plugin-transform-runtime": "^7.10.3",
|
|
37
34
|
"@babel/preset-env": "^7.16.8",
|
|
38
35
|
"@babel/preset-typescript": "^7.16.7",
|
|
39
36
|
"@babel/runtime-corejs3": "^7.13.17",
|
|
40
|
-
"@faker-js/faker": "^7.
|
|
37
|
+
"@faker-js/faker": "^7.5.0",
|
|
41
38
|
"@types/jest": "^27.4.1",
|
|
42
39
|
"@types/node": "^17.0.8",
|
|
43
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
44
|
-
"@typescript-eslint/parser": "^5.
|
|
40
|
+
"@typescript-eslint/eslint-plugin": "^5.36.1",
|
|
41
|
+
"@typescript-eslint/parser": "^5.36.1",
|
|
45
42
|
"babel-eslint": "^10.1.0",
|
|
46
43
|
"babel-jest": "^26.6.3",
|
|
47
44
|
"babel-loader": "^8.2.2",
|
|
48
45
|
"babel-polyfill": "^6.26.0",
|
|
49
|
-
"core-js": "^3.
|
|
46
|
+
"core-js": "^3.25.0",
|
|
50
47
|
"cross-env": "^7.0.3",
|
|
51
48
|
"esbuild": "^0.14.54",
|
|
52
|
-
"eslint": "^8.
|
|
49
|
+
"eslint": "^8.23.0",
|
|
53
50
|
"eslint-config-standard": "^17.0.0",
|
|
54
|
-
"eslint-loader": "^4.0.2",
|
|
55
51
|
"eslint-plugin-babel": "^5.3.1",
|
|
56
52
|
"eslint-plugin-import": "^2.26.0",
|
|
57
|
-
"eslint-plugin-n": "^15.2.
|
|
58
|
-
"eslint-plugin-promise": "^6.0.
|
|
53
|
+
"eslint-plugin-n": "^15.2.5",
|
|
54
|
+
"eslint-plugin-promise": "^6.0.1",
|
|
59
55
|
"eslint-webpack-plugin": "^3.1.1",
|
|
60
56
|
"glob": "^8.0.3",
|
|
61
57
|
"husky": "^6.0.0",
|
|
@@ -65,10 +61,9 @@
|
|
|
65
61
|
"jest-runner-groups": "2.1.0",
|
|
66
62
|
"npm-run-all": "^4.1.5",
|
|
67
63
|
"npm-scripts-info": "^0.3.9",
|
|
68
|
-
"prettier": "^2.2.1",
|
|
69
64
|
"regenerator-runtime": "^0.13.9",
|
|
70
65
|
"rimraf": "^3.0.2",
|
|
71
|
-
"typescript": "
|
|
66
|
+
"typescript": "4.7.4"
|
|
72
67
|
},
|
|
73
68
|
"repository": {
|
|
74
69
|
"type": "git",
|
|
@@ -77,4 +72,4 @@
|
|
|
77
72
|
"author": "",
|
|
78
73
|
"license": "ISC",
|
|
79
74
|
"homepage": "https://bitbucket.org/eacap/at-tracking-event-types#readme"
|
|
80
|
-
}
|
|
75
|
+
}
|