-
Notifications
You must be signed in to change notification settings - Fork 133
/
package.json
106 lines (106 loc) · 3.37 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
{
"name": "amplitude-js",
"author": "Amplitude <[email protected]>",
"version": "8.21.9",
"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.33",
"@amplitude/utils": "^1.10.2",
"@babel/runtime": "^7.21.0",
"blueimp-md5": "^2.19.0",
"query-string": "8.1.0",
"@amplitude/analytics-connector": "^1.4.6"
},
"devDependencies": {
"@amplitude/eslint-plugin-amplitude": "^1.1.1",
"@babel/core": "^7.21.3",
"@babel/plugin-external-helpers": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-transform-runtime": "^7.21.0",
"@babel/preset-env": "^7.20.2",
"@semantic-release/changelog": "^6.0.2",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"chai": "^4.3.7",
"chokidar-cli": "^3.0.0",
"date-fns": "^2.29.3",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-prettier": "^4.2.1",
"express": "^4.18.2",
"fs-extra": "^11.1.0",
"husky": "^8.0.3",
"jsdoc": "^4.0.2",
"jsdoc-to-markdown": "^8.0.0",
"karma": "^6.4.1",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.1",
"karma-firefox-launcher": "^2.1.2",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-mocha-webworker": "^1.3.0",
"karma-sauce-launcher": "^4.3.6",
"karma-sinon": "^1.0.5",
"karma-sourcemap-loader": "^0.4.0",
"lint-staged": "^13.2.0",
"mocha": "^10.2.0",
"prettier": "^2.8.4",
"requirejs": "^2.3.6",
"rollup": "^2.79.1",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^23.0.7",
"@rollup/plugin-json": "^5.0.2",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-legacy": "^3.0.1",
"@rollup/plugin-terser": "^0.4.0",
"semantic-release": "^19.0.5",
"sinon": "^15.0.2"
},
"scripts": {
"test": "make test",
"dev": "node test/browser/server.js",
"build": "make build",
"build:watch": "chokidar src/ test/ -c 'yarn build'",
"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"
]
}
}