-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 1.62 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
{
"name": "@searchtap/recommendation-client",
"repository": {
"type": "git",
"url": "https://github.com/searchtap/recommendation-js"
},
"version": "0.0.8",
"main": "lib/index.min.js",
"types": "lib/types/StRecommendationTracker.d.ts",
"scripts": {
"build": "rm -rf lib && NODE_ENV=production ./node_modules/.bin/webpack --mode=production && tsc --emitDeclarationOnly",
"build-dev": "rm -rf lib && NODE_ENV=default ./node_modules/.bin/webpack && tsc --emitDeclarationOnly",
"test": "NODE_ENV=test ./node_modules/mocha/bin/_mocha --full-trace --require ts-node/register --exit ./tests/**/*.spec.ts",
"code-coverage": "NODE_ENV=test nyc --reporter=lcov --reporter=text ./node_modules/mocha/bin/_mocha --full-trace --require ts-node/register --exit ./tests/**/*.spec.ts && cat ./coverage/lcov.info | codacy-coverage && rm -rf ./coverage ./.nyc_output"
},
"private": false,
"author": "tech@searchtap.io",
"nyc": {
"extension": [
".ts",
".tsx"
],
"include": [
"src/**"
],
"all": true
},
"dependencies": {
"axios": "^0.19.0",
"browser-cookies": "^1.2.0",
"nanoid": "^2.1.7"
},
"devDependencies": {
"@types/chai": "^4.1.2",
"@types/node": "^10.5.1",
"awesome-typescript-loader": "^5.2.0",
"chai": "^4.1.2",
"codacy-coverage": "^3.0.0",
"dotenv": "^8.0.0",
"dotenv-webpack": "^1.7.0",
"mocha": "^5.2.0",
"mocha-lcov-reporter": "^1.3.0",
"mocha-typescript": "^1.1.16",
"nock": "^9.5.0",
"nyc": "^12.0.2",
"ts-node": "^7.0.0",
"typescript": "^2.9.2",
"webpack": "^4.15.0",
"webpack-cli": "^3.0.8"
}
}