@isense-development/test-npm 1.0.3 → 1.0.4

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.
Files changed (3) hide show
  1. package/README.md +26 -0
  2. package/index.js +2 -1
  3. package/package.json +17 -6
package/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # How to use npm
2
+
3
+ ## How update packages?
4
+
5
+ [4 Safe Steps to Update npm Packages](https://josipmisko.com/posts/how-to-update-npm-packages-in-4-easy-steps)
6
+
7
+ Cheat Sheet: 6 Commands To Help You Update npm Packages
8
+
9
+ This cheat sheet will make it easy to safely update npm packages in your node application. It includes a list of commands that will help you keep up with
10
+ the latest updates and avoid breaking changes.
11
+
12
+ * Use npm list --depth 0 to list all the packages in your package directory
13
+ * Use npm audit to find out which of your npm dependencies are vulnerable.
14
+ * Use npm outdated to list the packages that are out of date with respect to what is installed in package.json
15
+ * Use npm update package_name to update an individual package that has already been installed.
16
+ * Use npm uninstall package_name and npm install package_name@version to revert to a specific version.
17
+ * Use npm cache clean --force to clear npm's cache of all the packages that have been installed.
18
+
19
+
20
+ ## copyfiles npm package
21
+
22
+ [How to copy directory with npm script copyfiles npm](https://www.cloudhadoop.com/npm-script-copyfiles/)
23
+
24
+
25
+
26
+
package/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  var fs = require('fs');
2
- var dir = './tmp';
3
2
 
3
+ var dir = './tmp';
4
4
  if (!fs.existsSync(dir)) {
5
5
  fs.mkdirSync(dir);
6
6
  }
7
+
package/package.json CHANGED
@@ -1,14 +1,25 @@
1
1
  {
2
2
  "name": "@isense-development/test-npm",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "test npm",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
- "start": "node index.js"
7
+ "start": "node index.js",
8
+ "patch-release": "npm version patch && npm publish --access=public",
9
+ "minor-release": "npm version minor && npm publish --access=public",
10
+ "major-release": "npm version major && npm publish --access=public",
11
+ "patch-release-git": "npm version patch && npm publish --access=public && git push --follow-tags"
8
12
  },
9
- "dependencies": {
10
- "axios": "^0.24.0"
11
- },
12
- "author": "",
13
+ "dependencies": {
14
+ "axios": "^0.24.0",
15
+ "@progress/kendo-datasource-vue-wrapper": "^2021.3.1109",
16
+ "@progress/kendo-dropdowns-vue-wrapper": "^2021.3.1109",
17
+ "@progress/kendo-grid-vue-wrapper": "^2021.3.1109",
18
+ "@progress/kendo-licensing": "^1.2.1",
19
+ "@progress/kendo-theme-material": "^4.43.0",
20
+ "@progress/kendo-ui": "^2021.3.1109",
21
+ "jszip": "^3.5.0"
22
+ },
23
+ "author": "Jan Hemelaers",
13
24
  "license": "ISC"
14
25
  }