@isense-development/test-npm 1.0.2 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
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.2",
3
+ "version": "1.0.7",
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
  }
package/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/test-npm.iml" filepath="$PROJECT_DIR$/.idea/test-npm.iml" />
6
- </modules>
7
- </component>
8
- </project>
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="WEB_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$" />
5
- <orderEntry type="inheritedJdk" />
6
- <orderEntry type="sourceFolder" forTests="false" />
7
- </component>
8
- </module>