@ssplib/react-components 0.0.23 → 0.0.25
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/addDep.d.ts +2 -0
- package/addDep.js +12 -0
- package/package.json +4 -2
package/addDep.d.ts
ADDED
package/addDep.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/usr/bin/node
|
|
2
|
+
"use strict";
|
|
3
|
+
var shell = require('shelljs');
|
|
4
|
+
if (!shell.which('npm')) {
|
|
5
|
+
shell.echo('Você precisa ter o npm instalado.');
|
|
6
|
+
shell.exit(1);
|
|
7
|
+
}
|
|
8
|
+
if (shell.exec('npm install lodash.get').code !== 0) {
|
|
9
|
+
shell.echo('Erro na instalação');
|
|
10
|
+
shell.exit(1);
|
|
11
|
+
}
|
|
12
|
+
shell.echo('Instalado com sucesso');
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ssplib/react-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.25",
|
|
4
4
|
"description": "SSP React Components",
|
|
5
|
+
"bin": "addDep.js",
|
|
5
6
|
"main": "index.js",
|
|
6
7
|
"author": "Pedro Henrique <sr.hudrick@gmail.com>",
|
|
7
8
|
"license": "MIT",
|
|
@@ -19,7 +20,8 @@
|
|
|
19
20
|
"react-hook-form": "^7.43.9",
|
|
20
21
|
"dayjs": "^1.11.7",
|
|
21
22
|
"cookies-next": "^2.1.1",
|
|
22
|
-
"react-imask": "^6.6.0"
|
|
23
|
+
"react-imask": "^6.6.0",
|
|
24
|
+
"shelljs": "^0.8.5"
|
|
23
25
|
},
|
|
24
26
|
"repository": {
|
|
25
27
|
"type": "git",
|