-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
113 lines (113 loc) · 4.06 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "vwo-node-sdk",
"version": "1.70.1",
"description": "VWO Node SDK for server-side Testing",
"scripts": {
"build": "yarn build:dev && yarn build:prod",
"build:dev": "webpack --mode=development",
"build:dev-watch": "webpack --mode=development --watch",
"build:dev-analyze": "webpack --mode=development --analyze=1",
"build:prod-analyze": "webpack --mode=production --analyze=1",
"build:prod": "webpack --mode=production",
"build:patch": "webpack --mode=development --type=patch && webpack --mode=production --type=patch",
"build:minor": "webpack --mode=development --type=minor && webpack --mode=production --type=minor",
"build:major": "webpack --mode=development --type=major && webpack --mode=production --type=major",
"build:tag-patch:push": "yarn build:patch && yarn commit:dist && yarn release:patch && yarn push:origin:tag && yarn push:github:tag",
"build:tag-minor:push": "yarn build:minor && yarn commit:dist && yarn release:minor && yarn push:origin:tag && yarn push:github:tag",
"build:tag-major:push": "yarn build:major && yarn commit:dist && yarn release:major && yarn push:origin:tag && yarn push:github:tag",
"check:versions": "node -e 'require(\"./scripts/check-versions\")'",
"check:license": "yarn check:versions && node -e 'require(\"./scripts/check-license\")'",
"commit:dist": "git add dist/ && git commit -m 'chore(dist): Automatically build and update dist for vwo-javascript-sdk'",
"coverage": "jest --collect-coverage && cat ./coverage/lcov.info",
"lint": "yarn check:versions && eslint '**/*.js' --fix",
"prettier": "./node_modules/prettier/bin-prettier.js --write",
"push:origin": "git push origin master",
"push:origin:tag": "git push origin master --tags",
"push:github": "git push github master",
"push:github:tag": "git push github master --tags",
"release:patch": "npm version patch",
"release:minor": "npm version minor",
"release:major": "npm version major",
"start": "yarn install && cp git-hooks/* .git/hooks/ && chmod -R +x .git/hooks",
"test:dev": "node --inspect node_modules/jest/bin/jest.js --watch --runInBand --config=jest.config.dev.js --watch --debug --colors --errorOnDeprecated",
"test:prod": "jest --config=jest.config.prod.js",
"test": "yarn test:prod"
},
"repository": {
"type": "git",
"url": "https://github.com/wingify/vwo-node-sdk"
},
"author": "dev@wingify.com",
"license": "Apache-2.0",
"main": "lib/index",
"types": "lib/index.d.ts",
"browser": "dist/vwo-javascript-sdk",
"files": [
"dist/",
"package.json",
"yarn.lock",
"lib/**/*",
"LICENSE",
"README.md",
"CONTRIBUTING.md",
"CHANGELOG.md",
"NOTICE",
"third-party-attributions.txt"
],
"dependencies": {
"murmurhash": "^0.0.2",
"superstruct": "^0.10.12",
"uuid": "^3.3.2",
"vwo-sdk-log-messages": "^0.12.0"
},
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/preset-env": "^7.6.2",
"@types/node": "^14.14.35",
"babel-loader": "^8.0.6",
"eslint": "^4.19.1",
"eslint-config-prettier": "^2.9.0",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.10.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-standard": "^3.0.1",
"husky": "^1.3.1",
"jest": "^24.9.0",
"lint-staged": "^8.1.3",
"prettier": "^1.16.4",
"semver": "^6.1.1",
"shelljs": "^0.8.3",
"typescript": "^4.2.3",
"webpack": "^4.42.0",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-cli": "^3.3.9"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn lint && yarn check:license && yarn test:prod && yarn build"
}
},
"lint-staged": {
"globOptions": {
"matchBase": false
},
"linters": {
"**/*.js": [
"yarn lint",
"prettier",
"git add"
],
"**/*.{json,md,ts}": [
"prettier",
"git add"
]
}
},
"engineStrict": true,
"engines": {
"node": ">= 6.10.0"
}
}