@isense-development/test-npm 2.0.2 → 2.0.6

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -1,7 +0,0 @@
1
- var fs = require('fs');
2
-
3
- var dir = './tmp';
4
- if (!fs.existsSync(dir)) {
5
- fs.mkdirSync(dir);
6
- }
7
-
package/install.js ADDED
@@ -0,0 +1,13 @@
1
+ let fs = require('fs')
2
+ const chalk = require('chalk')
3
+ let execSync = require('child_process').execSync
4
+ var copyfiles = require('copyfiles');
5
+
6
+ var dir = './tmp';
7
+ if (!fs.existsSync(dir)) {
8
+ console.log(chalk.yellow('creating `tmp` directory'))
9
+ fs.mkdirSync(dir);
10
+ } else {
11
+ console.log(chalk.yellow('directory `tmp` already exists'))
12
+
13
+ }
package/package.json CHANGED
@@ -1,27 +1,31 @@
1
1
  {
2
- "name": "@isense-development/test-npm",
3
- "version": "2.0.2",
4
- "description": "test npm",
5
- "main": "index.js",
6
- "scripts": {
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"
12
- },
13
- "dependencies": {
14
- "axios": "^0.24.0"
15
- },
16
- "devDependencies": {
17
- "@progress/kendo-datasource-vue-wrapper": "^2021.3.1109",
18
- "@progress/kendo-dropdowns-vue-wrapper": "^2021.3.1109",
19
- "@progress/kendo-grid-vue-wrapper": "^2021.3.1109",
20
- "@progress/kendo-licensing": "^1.2.1",
21
- "@progress/kendo-theme-material": "^4.43.0",
22
- "@progress/kendo-ui": "^2021.3.1109",
23
- "jszip": "^3.5.0"
24
- },
25
- "author": "Jan Hemelaers",
26
- "license": "ISC"
2
+ "name": "@isense-development/test-npm",
3
+ "version": "2.0.6",
4
+ "description": "test npm",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "install": "install.js",
8
+ "preinstall": "install.js",
9
+ "postinstall": "install.js",
10
+ "uninstall": "uninstall.js",
11
+ "start": "node index.js",
12
+ "patch-release": "npm version patch && npm publish --access=public",
13
+ "minor-release": "npm version minor && npm publish --access=public",
14
+ "major-release": "npm version major && npm publish --access=public",
15
+ "patch-release-git": "npm version patch && npm publish --access=public && git push --follow-tags"
16
+ },
17
+ "dependencies": {
18
+ "axios": "^0.24.0"
19
+ },
20
+ "devDependencies": {
21
+ "@progress/kendo-datasource-vue-wrapper": "^2021.3.1109",
22
+ "@progress/kendo-dropdowns-vue-wrapper": "^2021.3.1109",
23
+ "@progress/kendo-grid-vue-wrapper": "^2021.3.1109",
24
+ "@progress/kendo-licensing": "^1.2.1",
25
+ "@progress/kendo-theme-material": "^4.43.0",
26
+ "@progress/kendo-ui": "^2021.3.1109",
27
+ "jszip": "^3.5.0"
28
+ },
29
+ "author": "Jan Hemelaers",
30
+ "license": "ISC"
27
31
  }
package/uninstall.js ADDED
File without changes