@isense-development/test-npm 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,8 @@
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>
@@ -0,0 +1,8 @@
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>
package/index.js CHANGED
@@ -1 +1,6 @@
1
- console.log('test-npm')
1
+ var fs = require('fs');
2
+ var dir = './tmp';
3
+
4
+ if (!fs.existsSync(dir)) {
5
+ fs.mkdirSync(dir);
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isense-development/test-npm",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "test npm",
5
5
  "main": "index.js",
6
6
  "scripts": {