my-timezone 1.0.0 → 1.0.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/README.md +1 -1
- package/cli.js +0 -0
- package/package.json +13 -62
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# my-timezone [](https://www.npmjs.com/package/my-timezone)
|
|
2
2
|
|
|
3
3
|
Get the exact time based on your location by calculating the time difference in seconds from UTC (good explanation on [CS4FN](http://www.cs4fn.org/mobile/owntimezone.php)).
|
|
4
4
|
|
package/cli.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -4,43 +4,15 @@
|
|
|
4
4
|
"my-timezone": "cli.js"
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"commander": "
|
|
8
|
-
"ntpclient": "
|
|
7
|
+
"commander": "10.0.0",
|
|
8
|
+
"ntpclient": "*"
|
|
9
9
|
},
|
|
10
10
|
"description": "Get the exact time based on your location.",
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"@semantic-release/git": "10.0.1",
|
|
17
|
-
"@types/jasmine": "4.0.3",
|
|
18
|
-
"@types/node": "~16",
|
|
19
|
-
"@typescript-eslint/eslint-plugin": "4.33.0",
|
|
20
|
-
"@typescript-eslint/parser": "4.33.0",
|
|
21
|
-
"axios": "0.27.2",
|
|
22
|
-
"babel-eslint": "10.1.0",
|
|
23
|
-
"eslint": "7.32.0",
|
|
24
|
-
"eslint-config-prettier": "8.5.0",
|
|
25
|
-
"eslint-plugin-import": "2.26.0",
|
|
26
|
-
"eslint-plugin-jasmine": "4.1.3",
|
|
27
|
-
"eslint-plugin-jsdoc": "39.3.2",
|
|
28
|
-
"eslint-plugin-no-unsanitized": "4.0.1",
|
|
29
|
-
"eslint-plugin-prettier": "4.0.0",
|
|
30
|
-
"eslint-plugin-simple-import-sort": "7.0.0",
|
|
31
|
-
"eslint-plugin-sort-keys-fix": "1.1.2",
|
|
32
|
-
"eslint-plugin-typescript-sort-keys": "2.1.0",
|
|
33
|
-
"eslint-plugin-unused-imports": "1.1.5",
|
|
34
|
-
"husky": "4.3.8",
|
|
35
|
-
"jasmine": "4.1.0",
|
|
36
|
-
"lint-staged": "13.0.0",
|
|
37
|
-
"nock": "13.2.6",
|
|
38
|
-
"prettier": "2.6.2",
|
|
39
|
-
"publish-flat": "1.4.1",
|
|
40
|
-
"rimraf": "3.0.2",
|
|
41
|
-
"semantic-release": "19.0.2",
|
|
42
|
-
"ts-node": "10.8.1",
|
|
43
|
-
"typescript": "4.7.3"
|
|
12
|
+
"axios": "1.3.1",
|
|
13
|
+
"nock": "13.3.0",
|
|
14
|
+
"rimraf": "4.1.2",
|
|
15
|
+
"typescript": "4.9.5"
|
|
44
16
|
},
|
|
45
17
|
"engines": {
|
|
46
18
|
"node": ">= 10.9"
|
|
@@ -54,41 +26,20 @@
|
|
|
54
26
|
"cli.js.map"
|
|
55
27
|
],
|
|
56
28
|
"license": "GPL-3.0",
|
|
57
|
-
"lint-staged": {
|
|
58
|
-
"*.{json,md,yml}": [
|
|
59
|
-
"prettier --write"
|
|
60
|
-
],
|
|
61
|
-
"spec/**/*.ts": [
|
|
62
|
-
"eslint --config .eslintrc.spec.json --fix"
|
|
63
|
-
],
|
|
64
|
-
"src/**/*.ts": [
|
|
65
|
-
"eslint --fix"
|
|
66
|
-
]
|
|
67
|
-
},
|
|
68
29
|
"main": "index.js",
|
|
69
30
|
"name": "my-timezone",
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
"extends": "@ffflorian/semantic-release-config"
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"directory": "flattened"
|
|
73
33
|
},
|
|
74
|
-
"repository": "https://github.com/ffflorian/my-timezone
|
|
34
|
+
"repository": "https://github.com/ffflorian/node-packages/tree/main/packages/my-timezone",
|
|
75
35
|
"scripts": {
|
|
76
36
|
"build": "tsc",
|
|
77
37
|
"clean": "rimraf dist",
|
|
78
38
|
"dist": "yarn clean && yarn build",
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"fix:ts": "yarn lint:ts --fix && yarn lint:ts:spec --fix",
|
|
82
|
-
"flatten": "publish-flat -o flattened",
|
|
83
|
-
"lint": "yarn lint:ts && yarn lint:ts:spec && yarn lint:other",
|
|
84
|
-
"lint:other": "yarn prettier --list-different",
|
|
85
|
-
"lint:ts": "eslint --ignore-path .gitignore --ext .ts src/",
|
|
86
|
-
"lint:ts:spec": "eslint --ignore-path .gitignore --ext .ts --config .eslintrc.spec.json spec/",
|
|
87
|
-
"postversion": "node ../node_modules/publish-flat/cli-copy.js -i package.json -o ../package.json version",
|
|
88
|
-
"prettier": "prettier \"*.{json,md,yml}\"",
|
|
89
|
-
"release": "semantic-release",
|
|
39
|
+
"flatten": "node ../publish-flat/dist/cli.js -o flattened",
|
|
40
|
+
"postversion": "node ../publish-flat/dist/cli-copy.js -o flattened/package.json version",
|
|
90
41
|
"start": "ts-node src/cli.ts",
|
|
91
|
-
"test": "ts-node -P tsconfig.jasmine.json node_modules/.bin/jasmine"
|
|
42
|
+
"test": "ts-node -P tsconfig.jasmine.json ../../node_modules/.bin/jasmine"
|
|
92
43
|
},
|
|
93
|
-
"version": "1.0.
|
|
44
|
+
"version": "1.0.1"
|
|
94
45
|
}
|