@8ms/helpers 1.1.48 → 1.1.51

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.
@@ -0,0 +1,17 @@
1
+ on:
2
+ push:
3
+ branches: [ main ]
4
+
5
+ jobs:
6
+ publish:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v3
10
+ - uses: actions/setup-node@v3
11
+ with:
12
+ node-version: 16
13
+ - run: yarn
14
+ - run: yarn build
15
+ - uses: JS-DevTools/npm-publish@v1
16
+ with:
17
+ token: ${{ secrets.NPM_TOKEN }}
@@ -0,0 +1,2 @@
1
+ declare const test: () => string;
2
+ export default test;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var test = function () {
4
+ var moment = require('moment');
5
+ var subtest = moment().format();
6
+ return subtest;
7
+ };
8
+ exports.default = test;
package/package.json CHANGED
@@ -1,36 +1,38 @@
1
1
  {
2
- "name": "@8ms/helpers",
3
- "version": "1.1.48",
4
- "repository": {
5
- "type": "git",
6
- "url": "git+https://github.com/8millionstories-organisation/8ms-helpers-ts.git"
2
+ "name": "@8ms/helpers",
3
+ "license": "UNLICENSED",
4
+ "version": "1.1.51",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/8millionstories-organisation/8ms-helpers-ts.git"
7
8
  },
8
- "main": "dist/index.js",
9
- "types": "dist/index.d.ts",
10
- "scripts": {
11
- "build": "rimraf dist && tsc",
12
- "jest": "jest --watch"
9
+ "main": "dist/index.js",
10
+ "types": "dist/index.d.ts",
11
+ "scripts": {
12
+ "build": "rimraf dist && tsc",
13
+ "jest": "jest --watch"
13
14
  },
14
- "dependencies": {
15
- "axios": "0.27.2",
16
- "date-fns": "2.28.0",
17
- "date-fns-tz": "1.3.4",
18
- "lodash": "4.17.21"
15
+ "dependencies": {
16
+ "axios": "0.27.2",
17
+ "date-fns": "2.28.0",
18
+ "date-fns-tz": "1.3.4",
19
+ "lodash": "4.17.21"
19
20
  },
20
21
  "devDependencies": {
21
- "@babel/preset-env": "7.18.2",
22
- "@babel/preset-flow": "7.17.12",
23
- "@babel/preset-typescript": "7.17.12",
24
- "@google-cloud/storage": "6.1.0",
25
- "@types/jest": "27.5.1",
26
- "@types/lodash": "4.14.182",
27
- "@types/node": "17.0.35",
28
- "babel-jest": "28.1.0",
29
- "crypto-js": "4.1.1",
30
- "jest": "28.1.0",
31
- "timezone-mock": "1.3.2",
32
- "ts-node": "10.8.0",
33
- "tslib": "2.4.0",
34
- "typescript": "4.7.2"
22
+ "@babel/preset-env": "7.18.2",
23
+ "@babel/preset-flow": "7.17.12",
24
+ "@babel/preset-typescript": "7.17.12",
25
+ "@google-cloud/storage": "6.1.0",
26
+ "@types/jest": "27.5.1",
27
+ "@types/lodash": "4.14.182",
28
+ "@types/node": "17.0.35",
29
+ "babel-jest": "28.1.0",
30
+ "crypto-js": "4.1.1",
31
+ "moment": "2.29.4",
32
+ "jest": "28.1.0",
33
+ "timezone-mock": "1.3.2",
34
+ "ts-node": "10.8.0",
35
+ "tslib": "2.4.0",
36
+ "typescript": "4.7.2"
35
37
  }
36
38
  }