| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,40 @@ |
| 1 |
+# Operazioni preliminari |
|
| 2 |
+ |
|
| 3 |
+### Impostare repository |
|
| 4 |
+<pre> |
|
| 5 |
+// verdaccio repository |
|
| 6 |
+npm set registry https://npm.ff3d.com |
|
| 7 |
+ |
|
| 8 |
+// default repository |
|
| 9 |
+npm config set registry https://registry.npmjs.org/ |
|
| 10 |
+ |
|
| 11 |
+//verificare il repository impostato |
|
| 12 |
+npm config get registry |
|
| 13 |
+ |
|
| 14 |
+//Ignorare problema certificato SSL |
|
| 15 |
+npm config set strict-ssl false |
|
| 16 |
+</pre> |
|
| 17 |
+ |
|
| 18 |
+# Autenticazione |
|
| 19 |
+ |
|
| 20 |
+### Login |
|
| 21 |
+<pre> |
|
| 22 |
+npm login |
|
| 23 |
+ |
|
| 24 |
+// Verificare con che utente si รจ collegati |
|
| 25 |
+npm whoami |
|
| 26 |
+</pre> |
|
| 27 |
+ |
|
| 28 |
+# Pacchetti |
|
| 29 |
+ |
|
| 30 |
+### Creare pacchetto |
|
| 31 |
+<pre> |
|
| 32 |
+npm init |
|
| 33 |
+npm publish |
|
| 34 |
+</pre> |
|
| 35 |
+ |
|
| 36 |
+### Aggiornare un pacchetto |
|
| 37 |
+<pre> |
|
| 38 |
+npm version <update_type> |
|
| 39 |
+npm publish |
|
| 40 |
+</pre> |
| 1 | 3 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,18 @@ |
| 1 |
+{
|
|
| 2 |
+ "name": "com-ff3d-readme", |
|
| 3 |
+ "version": "1.0.6", |
|
| 4 |
+ "description": "Help", |
|
| 5 |
+ "main": "index.js", |
|
| 6 |
+ "scripts": {
|
|
| 7 |
+ "test": "echo \"Error: no test specified\" && exit 1" |
|
| 8 |
+ }, |
|
| 9 |
+ "repository": {
|
|
| 10 |
+ "type": "git", |
|
| 11 |
+ "url": "https://npm.ff3d.com" |
|
| 12 |
+ }, |
|
| 13 |
+ "keywords": [ |
|
| 14 |
+ "help" |
|
| 15 |
+ ], |
|
| 16 |
+ "author": "Mauro Sala", |
|
| 17 |
+ "license": "ISC" |
|
| 18 |
+} |