test-temp-npm-demo 1.0.0

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 (2) hide show
  1. package/index.js +12 -0
  2. package/package.json +17 -0
package/index.js ADDED
@@ -0,0 +1,12 @@
1
+ import shell from 'shelljs'
2
+
3
+ setTimeout(() => {
4
+ console.log(shell.ls('-l').stdout)
5
+ }, 1);
6
+
7
+ const test = true
8
+
9
+ export {
10
+ test as default,
11
+ test
12
+ }
package/package.json ADDED
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "test-temp-npm-demo",
3
+ "version": "1.0.0",
4
+ "description": "publish npm test",
5
+ "main": "index.js",
6
+ "type": "module",
7
+ "scripts": {
8
+ "start": "node index.js",
9
+ "test": "echo \"Error: no test specified\" && exit 1",
10
+ "preinstall": "node index.js"
11
+ },
12
+ "author": "",
13
+ "license": "ISC",
14
+ "dependencies": {
15
+ "shelljs": "^0.8.5"
16
+ }
17
+ }