-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
72 lines (72 loc) · 2.11 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
{
"name": "@buttercup/locust",
"version": "2.3.1",
"description": "Locust Login Toolkit",
"exports": "./dist/index.js",
"type": "module",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "npm run clean && tsc -p ./tsconfig.json",
"build:dev": "npm run clean && webpack --config=webpack.dev.config.cjs",
"build:test": "npm run clean && tsc -p ./tsconfig.test.json",
"clean": "rimraf dist",
"dev": "concurrently 'npm run watch' 'npm run serve'",
"format": "prettier --write '{{source,test}/**/*.js,webpack.config.js}'",
"prepublishOnly": "npm run build",
"serve": "serve ./dist/ -p 8081",
"test": "run-s test:web test:integration test:format",
"test:ci:integration": "npm run test:integration",
"test:ci:web": "npm run test:web",
"test:format": "prettier --check '{{source,test}/**/*.js,webpack.config.js}'",
"test:integration": "npm run build:dev && node ./test-integration/index.cjs",
"test:web": "npm run build:test && mochify",
"test:web:watch": "mochify --watch",
"watch": "webpack -w --progress"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{{source,test}/**/*.js,webpack.config.js}": [
"prettier --write"
]
},
"author": "Perry Mitchell <perry@perrymitchell>",
"license": "MIT",
"config": {
"puppeteer_skip_chromium_download": true
},
"dependencies": {
"eventemitter3": "^5.0.1",
"is-visible": "^2.2.0"
},
"devDependencies": {
"@babel/core": "^7.24.3",
"@babel/preset-env": "^7.24.3",
"@types/node": "^20.11.30",
"babel-loader": "^9.1.3",
"chai": "^4.4.1",
"concurrently": "^8.2.2",
"husky": "^4.3.8",
"lint-staged": "^13.2.2",
"mocha": "^10.2.0",
"mochify": "^9.2.0",
"npm-run-all": "^4.1.3",
"prettier": "^2.8.8",
"puppeteer": "^22.6.0",
"resolve-typescript-plugin": "^2.0.1",
"rimraf": "^5.0.5",
"serve": "^14.2.1",
"sinon": "^15.0.4",
"sleep-promise": "^9.1.0",
"ts-loader": "^9.5.1",
"typescript": "^5.4.2",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
}
}