forked from charlesguse/run-script-os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
28 lines (28 loc) · 1.3 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"name": "run-script-os-fix",
"version": "1.0.4",
"description": "run-script-os is a tool that will let you use generic npm script commands that will pass through to os specific commands.",
"main": "index.js",
"scripts": {
"example": "echo '0. Call either npm test, npm run test, or npm run-script test and check out the output to see how pre and post commands work with run-script-os'",
"pretest": "echo '1. Pretest (Generic) called first when running npm test'",
"test": "echo '2. Test (Generic) runs transitioning to OS specific code' && run-script-os",
"pretest:win32": "echo '3. Pretest (Windows 32/64)'",
"test:win32": "echo '4. Test (Windows 32/64)'",
"posttest:win32": "echo '5. Posttest (Windows 32/64)'",
"pretest:linux:darwin": "echo '3. Pretest (Linux/MacOS)'",
"test:linux:darwin": "echo '4. Test (Linux/MacOS)'",
"posttest:linux:darwin": "echo '5. Posttest (Linux/MacOS)'",
"posttest": "echo '6. Posttest (Generic) is finally called after all of the OS specific commands are called'"
},
"author": "Charlie Guse (https://github.com/charlesguse/run-script-os)",
"license": "MIT",
"bin": {
"run-script-os": "./index.js",
"run-os": "./index.js"
},
"repository": {
"type": "git",
"url": "https://github.com/surfncode/run-script-os.git"
}
}