sbx-utils-lib 2.0.3-test-3 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbx-utils-lib",
3
- "version": "2.0.3-test-3",
3
+ "version": "2.0.3",
4
4
  "description": "utilities for sbx company",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -8,9 +8,9 @@
8
8
  "lib/**/*"
9
9
  ],
10
10
  "scripts": {
11
- "build": "npx tsc && cp -r src/extended-types.d.ts lib/extended-types.d.ts && cp -r src/postinstallscript.js lib/postinstallscript.js",
11
+ "build": "npx tsc && cp -r src/extended-types.d.ts lib/extended-types.d.ts",
12
12
  "copy": "npx tsc && cp -r src/extended-types.d.ts lib/extended-types.d.ts && cp -r lib /Users/frankcarpio/Desktop/Personal/sbx-task-module-ui/lib/sbx-utils-lib",
13
- "postinstall": "node lib/postinstallscript.js"
13
+ "postinstall": "cp lib/extended-types.d.ts ../../"
14
14
  },
15
15
  "engines": {
16
16
  "node": ">=14.17"
@@ -22,7 +22,6 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "date-fns": "^3.6.0",
25
- "gently-copy": "^3.2.0",
26
25
  "moment": "^2.30.1",
27
26
  "tcs": "^10.0.2",
28
27
  "ts-jest": "^29.2.5",
@@ -1,17 +0,0 @@
1
- // post-install.js
2
-
3
- /**
4
- * Script to run after npm install
5
- *
6
- * Copy selected files to user's directory
7
- */
8
-
9
- const gentlyCopy = require('gently-copy')
10
-
11
- const filesToCopy = ['lib/extended-types.d.ts']
12
-
13
- // User's local directory
14
- const userPath = "../../"
15
-
16
- // Moving files to user's local directory
17
- gentlyCopy(filesToCopy, userPath)