@adtrackify/at-tracking-event-types 1.0.15 → 1.0.17

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 CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/bin/sh
2
2
  . "$(dirname "$0")/_/husky.sh"
3
3
 
4
- npm run build:dev
4
+ npm run build
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
@@ -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:dev
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.15",
3
+ "version": "1.0.17",
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,41 @@
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"
22
+ "type-check": "tsc --noEmit",
23
+ "prepare": "husky install"
26
24
  },
27
25
  "dependencies": {
28
- "@types/luxon": "^3.0.0",
26
+ "@types/luxon": "^3.0.1",
29
27
  "@types/ua-parser-js": "^0.7.36",
30
28
  "ua-parser-js": "^1.0.2"
31
29
  },
32
30
  "devDependencies": {
33
31
  "@babel/cli": "^7.13.16",
34
- "@babel/core": "^7.13.10",
32
+ "@babel/core": "^7.18.13",
35
33
  "@babel/plugin-proposal-optional-chaining": "^7.13.8",
36
34
  "@babel/plugin-transform-runtime": "^7.10.3",
37
35
  "@babel/preset-env": "^7.16.8",
38
36
  "@babel/preset-typescript": "^7.16.7",
39
37
  "@babel/runtime-corejs3": "^7.13.17",
40
- "@faker-js/faker": "^7.4.0",
38
+ "@faker-js/faker": "^7.5.0",
41
39
  "@types/jest": "^27.4.1",
42
40
  "@types/node": "^17.0.8",
43
- "@typescript-eslint/eslint-plugin": "^5.21.0",
44
- "@typescript-eslint/parser": "^5.21.0",
41
+ "@typescript-eslint/eslint-plugin": "^5.36.1",
42
+ "@typescript-eslint/parser": "^5.36.1",
45
43
  "babel-eslint": "^10.1.0",
46
44
  "babel-jest": "^26.6.3",
47
45
  "babel-loader": "^8.2.2",
48
46
  "babel-polyfill": "^6.26.0",
49
- "core-js": "^3.21.1",
47
+ "core-js": "^3.25.0",
50
48
  "cross-env": "^7.0.3",
51
49
  "esbuild": "^0.14.54",
52
- "eslint": "^8.14.0",
50
+ "eslint": "^8.23.0",
53
51
  "eslint-config-standard": "^17.0.0",
54
52
  "eslint-loader": "^4.0.2",
55
53
  "eslint-plugin-babel": "^5.3.1",
56
54
  "eslint-plugin-import": "^2.26.0",
57
- "eslint-plugin-n": "^15.2.0",
58
- "eslint-plugin-promise": "^6.0.0",
55
+ "eslint-plugin-n": "^15.2.5",
56
+ "eslint-plugin-promise": "^6.0.1",
59
57
  "eslint-webpack-plugin": "^3.1.1",
60
58
  "glob": "^8.0.3",
61
59
  "husky": "^6.0.0",
@@ -68,7 +66,7 @@
68
66
  "prettier": "^2.2.1",
69
67
  "regenerator-runtime": "^0.13.9",
70
68
  "rimraf": "^3.0.2",
71
- "typescript": "^4.7.4"
69
+ "typescript": "4.7.4"
72
70
  },
73
71
  "repository": {
74
72
  "type": "git",