Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 3.28 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 3.28 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "predicthq",
"version": "0.2.2",
"description": "PredictHQ Event Intelligence",
"main": "dist/predicthq.js",
"scripts": {
"lint": "node node_modules/eslint/bin/eslint.js ./src/",
"test": "VERSION=$npm_package_version NODE_ENV=test node_modules/mocha/bin/mocha --timeout 5000 --require babel-core/register test",
"test_browser": "VERSION=$npm_package_version ACCESS_TOKEN=$(node -r dotenv/config -e 'console.log(process.env.TEST_USER_PASSWORD_ACCESS_TOKEN)'); ACCOUNT_ID=$(node -r dotenv/config -e 'console.log(process.env.TEST_ACCOUNT_ID)'); ENDPOINT_URL=$(node -r dotenv/config -e 'console.log(process.env.ENDPOINT_URL)'); node_modules/mocha-phantomjs/bin/mocha-phantomjs --web-security no -b -R dot test/browser/runner.html?endpoint=${ENDPOINT_URL}\\&token=${ACCESS_TOKEN}\\&account_id=${ACCOUNT_ID}",
"update": "node node_modules/npm-check-updates/bin/npm-check-updates --upgradeAll",
"build": "NODE_ENV=production node node_modules/browserify/bin/cmd.js src/client.js -t babelify | node_modules/uglify-js/bin/uglifyjs -o dist/predicthq.js; node build.js",
"list_lodash_methods": "node_modules/lodash-modularize/bin/lodash-modularize src/**/**/*.js --list -g _",
"lodash": "lodash_methods=$(npm run --silent list_lodash_methods | sed -e \"s/\\x1b\\[.\\{1,5\\}m//g\"); node_modules/lodash-cli/bin/lodash -o dist/lodash.custom.js include=$lodash_methods",
"coverage": "VERSION=$npm_package_version node_modules/.bin/babel-node node_modules/babel-istanbul/lib/cli.js cover node_modules/mocha/bin/_mocha -- test",
"coverage_to_travis": "VERSION=$npm_package_version node_modules/.bin/babel-node node_modules/babel-istanbul/lib/cli.js cover node_modules/mocha/bin/_mocha -- test && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"patch": "node_modules/mversion/bin/version patch -m"
},
"repository": {
"type": "git",
"url": "git+https://github.com/predicthq/sdk-js.git"
},
"author": "PredictHQ",
"license": "MIT",
"bugs": {
"url": "https://github.com/predicthq/sdk-js/issues"
},
"browserify": {
"transform": [
[
"babelify",
{
"presets": [
"es2015"
]
}
]
]
},
"homepage": "https://github.com/predicthq/sdk-js#readme",
"dependencies": {
"core-js": "3.0.1",
"es6-promise": "3.2.1",
"jsonschema": "1.1.0",
"loglevel": "1.4.1",
"whatwg-fetch": "1.0.0",
"youarei": "1.0.2"
},
"devDependencies": {
"babel-cli": "6.14.0",
"babel-core": "6.14.0",
"babel-eslint": "6.1.2",
"babel-istanbul": "0.11.0",
"babel-plugin-transform-runtime": "6.12.0",
"babel-polyfill": "6.13.0",
"babel-preset-es2015": "6.14.0",
"babelify": "7.3.0",
"brfs": "1.4.3",
"browserify": "13.1.0",
"chalk": "1.1.3",
"coveralls": "2.11.12",
"dotenv": "2.0.0",
"envify": "3.4.1",
"eslint": "3.4.0",
"expect": "1.20.2",
"filesize": "3.3.0",
"lodash": "4.15.0",
"lodash-cli": "4.15.0",
"lodash-modularize": "1.3.3",
"mocha": "6.2.2",
"module-deps": "4.0.7",
"mversion": "1.10.1",
"nock": "8.0.0",
"node-fetch": "^1.6.0",
"npm-check-updates": "2.8.0",
"uglify-js": "2.7.3"
},
"node6BrowserTestingDependencies": {
"mocha-phantomjs": "4.1.0"
}
}