forked from amplitude/Amplitude-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 3.36 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
{
"name": "amplitude-js",
"author": "Amplitude <support@amplitude.com>",
"version": "8.18.1",
"license": "MIT",
"description": "Javascript library for Amplitude Analytics",
"keywords": [
"analytics",
"amplitude"
],
"repository": {
"type": "git",
"url": "https://github.com/amplitude/amplitude-javascript.git"
},
"main": "amplitude.umd.js",
"module": "amplitude.esm.js",
"dependencies": {
"@amplitude/ua-parser-js": "0.7.26",
"@amplitude/utils": "^1.0.5",
"@babel/runtime": "^7.3.4",
"blueimp-md5": "^2.10.0",
"query-string": "5",
"@amplitude/analytics-connector": "1.4.1"
},
"devDependencies": {
"@amplitude/eslint-plugin-amplitude": "^1.0.1",
"@babel/core": "^7.3.4",
"@babel/plugin-external-helpers": "^7.2.0",
"@babel/plugin-proposal-object-rest-spread": "^7.3.4",
"@babel/plugin-transform-runtime": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/exec": "^5.0.0",
"@semantic-release/git": "^9.0.0",
"chai": "^4.1.2",
"date-fns": "^1.30.1",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-mocha": "^8.0.0",
"eslint-plugin-prettier": "^3.3.1",
"express": "^4.16.2",
"fs-extra": "^4.0.2",
"husky": "^4.3.6",
"jsdoc": "^3.6.3",
"jsdoc-to-markdown": "^6.0.1",
"karma": "^4.0.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
"karma-firefox-launcher": "^1.0.1",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"karma-mocha-webworker": "^1.3.0",
"karma-sauce-launcher": "^2.0.2",
"karma-sinon": "^1.0.5",
"karma-sourcemap-loader": "^0.3.7",
"lint-staged": "^10.5.3",
"mocha": "^4.0.1",
"prettier": "^2.2.1",
"requirejs": "^2.3.6",
"rollup": "^2.26.3",
"@rollup/plugin-babel": "^5.2.0",
"@rollup/plugin-commonjs": "^15.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-replace": "^2.3.3",
"@rollup/plugin-legacy": "^2.2.0",
"rollup-plugin-uglify": "^6.0.2",
"semantic-release": "^17.1.1",
"sinon": "^7.0.0",
"uglify-js": "^3.4.9",
"watch": "^1.0.2"
},
"scripts": {
"test": "make test",
"dev": "node test/browser/server.js",
"build": "make build",
"build:watch": "watch 'yarn build' src/ test/",
"docs:install": "cd website/ && yarn install",
"docs:generate-jsdoc": "cd website && yarn generate-jsdoc",
"docs:start": "cd website/ && yarn start",
"docs:deploy": "cd website/ && yarn deploy",
"lint": "yarn run lint:prettier && yarn run lint:eslint",
"lint:prettier": "prettier --check \"{src,test,scripts,website}/**/*.js\"",
"lint:eslint": "eslint \"{src,test,scripts,website}/**/*.js\"",
"fix": "yarn run fix:eslint && yarn run fix:prettier",
"fix:prettier": "prettier --write \"{src,test,scripts,website}/**/*.js\"",
"fix:eslint": "eslint --fix \"{src,test,scripts,website}/**/*.js\""
},
"bugs": {
"url": "https://github.com/amplitude/amplitude-javascript/issues"
},
"homepage": "https://github.com/amplitude/amplitude-javascript#readme",
"directories": {
"test": "test"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{src,test,scripts,website}/**/*.js": [
"prettier --write",
"eslint --fix"
]
}
}