forked from instana/weasel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 3.12 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
{
"name": "",
"version": "1.0.0",
"description": "Collect end-user data",
"main": "lib/index.js",
"scripts": {
"build": "npm run build:clean && npm run build:production && npm run build:debug && npm run fileStats",
"build:clean": "rm -rf target",
"build:production": "NODE_ENV=production FILENAME=eum npm run build:bundle",
"build:debug": "NODE_ENV=development FILENAME=eum.debug npm run build:bundle",
"build:bundle": "npm run build:rollup && npm run build:minify",
"build:rollup": "rollup -c -m",
"build:minify": "java -jar node_modules/google-closure-compiler/compiler.jar --compilation_level=ADVANCED --language_in=ECMASCRIPT5_STRICT --language_out=ECMASCRIPT3 --js_output_file=target/$FILENAME.min.js --output_wrapper='(function(){%output%})();' --create_source_map='%outname%.map' --formatting=SINGLE_QUOTES target/$FILENAME.js && echo \"//# sourceMappingURL=$FILENAME.min.js.map\" >> target/$FILENAME.min.js && sed -i.bak 's#\"target/#\"#' target/$FILENAME.min.js.map && rm target/$FILENAME.min.js.map.bak",
"precommit": "npm run test:quick",
"test": "export IS_TEST=true && npm run test:quick && npm run test:e2e:local",
"test:quick": "npm run test:unit && npm run test:lint && npm run test:flow",
"test:unit": "jest --coverage --collectCoverageFrom=\"lib/**/*.js\" test/unit/* test/server/*",
"test:unit:watch": "jest --watch --coverage --collectCoverageFrom=\"lib/**/*.js\" test/unit/* test/server/*",
"test:e2e:local": "export IS_TEST=true && protractor protractor.local.config.js",
"test:e2e:saucelabs": "export IS_TEST=true && protractor protractor.saucelabs.config.js",
"test:lint": "eslint lib/**/*.js test/**/*.js",
"test:flow": "flow; test $? -eq 0 -o $? -eq 2",
"webdriver:start": "webdriver-manager update && webdriver-manager start",
"devServer": "BEACON_SERVER_PORTS='3009,3010,3011' node test/server/server",
"fileStats": "echo \"\nFile Stats:\" && ls target/*.js | xargs -I '%' bash -c 'echo \"%: $(./node_modules/.bin/gzip-size % | ./node_modules/.bin/pretty-bytes) (gzip)\"'"
},
"author": "Ben Ripkens <[email protected]> (http://bripkens.de/)",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/plugin-transform-block-scoping": "^7.0.0",
"@babel/plugin-transform-flow-strip-types": "^7.0.0",
"@babel/plugin-transform-modules-commonjs": "^7.0.0",
"@babel/plugin-transform-shorthand-properties": "^7.0.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.8.0",
"bluebird": "^3.4.6",
"body-parser": "^1.15.2",
"chai": "^3.5.0",
"eslint": "^5.16.0",
"express": "^4.14.0",
"flow-bin": "^0.100.0",
"google-closure-compiler": "^20161024.3.0",
"gzip-size-cli": "^1.0.0",
"husky": "^0.11.9",
"jest": "^24.8.0",
"pretty-bytes-cli": "^2.0.0",
"protractor": "^5.3.2",
"proxyquire": "^1.7.11",
"qs": "^6.5.2",
"request": "^2.79.0",
"request-promise": "^4.1.1",
"rollup": "^1.0.0",
"rollup-plugin-babel": "^4.0.0",
"rollup-plugin-replace": "^2.0.0",
"serve-index": "^1.9.1",
"sinon": "^7.0.0",
"uuid": "^3.0.1",
"webdriver-manager": "^10.2.8"
}
}