-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
executable file
·65 lines (65 loc) · 2.55 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "@iml/device-scanner",
"description": "Builds an in-memory representation of devices. Uses udev rules to handle change events.",
"author": "IML Team",
"version": "2.1.0",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"files": ["dist/"],
"scripts": {
"coverage":
"jest --projects IML.DeviceScannerDaemon --projects IML.ScannerProxyDaemon --projects IML.StatefulPromise --coverage",
"jest":
"jest --projects IML.DeviceScannerDaemon --projects IML.ScannerProxyDaemon --projects IML.StatefulPromise --projects IML.Types",
"test": "dotnet fable npm-jest",
"integration-test":
"jest -i --projects IML.IntegrationTestFramework/test --projects IML.IntegrationTest --testResultsProcessor='jest-junit'",
"test-watch":
"jest --projects IML.DeviceScannerDaemon --projects IML.ScannerProxyDaemon --projects IML.StatefulPromise --projects IML.Types --watchAll",
"restore": "dotnet restore device-scanner.sln && dotnet restore Root.fsproj",
"prebuild": "del-cli ./dist/**",
"build": "rollup -c rollup-config.js",
"docs":
"mkdir -p ./dist/docs && remark ./IML.DeviceScannerDaemon/README.md -u remark-man > ./dist/docs/device-scanner.8",
"postbuild":
"cp-cli IML.Listeners/UdevListener/udev-rules/ dist/listeners && cp-cli IML.DeviceScannerDaemon/systemd-units dist/device-scanner-daemon && cp-cli IML.ScannerProxyDaemon/systemd-units dist/scanner-proxy-daemon && npm run docs",
"premock": "docker run -di --privileged --name mock intelhpdd/mock /usr/sbin/init",
"mock": "docker cp -a ./ mock:/builddir",
"postmock": "docker exec -i mock bash -xec './builddir/mock-build.sh'"
},
"jest-junit": {
"suiteName": "Device Scanner",
"output": "results.xml",
"classNameTemplate": "{classname}-{title}",
"titleTemplate": "{classname}-{title}",
"ancestorSeparator": " › ",
"usePathForSuiteName": "true"
},
"pre-commit": ["test"],
"repository": {
"type": "git",
"url": "[email protected]:intel-hpdd/device-scanner.git"
},
"dependencies": {
"@iml/node-libzfs": "0.1.13"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-preset-env": "^1.6.1",
"cp-cli": "1.0.2",
"del-cli": "^1.1.0",
"fable-utils": "^1.0.6",
"jest": "^22.4.2",
"jest-fable-preprocessor": "^1.4.0",
"jest-junit": "^3.6.0",
"pre-commit": "1.2.2",
"remark-cli": "^5.0.0",
"remark-man": "^5.1.0",
"rollup": "^0.56.5",
"rollup-plugin-cleanup": "^2.0.0",
"rollup-plugin-fable": "^1.1.1",
"rollup-plugin-filesize": "^1.5.0"
}
}