-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
67 lines (67 loc) · 1.94 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
{
"name": "@wapc/host",
"description": "waPC host for node.js and the browser",
"author": "jsoverson",
"version": "0.0.3",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"files": [
"dist",
"README.md",
"test",
"src"
],
"scripts": {
"build": "npm run build:cjs && npm run build:browser",
"build:cjs": "tsc --declaration",
"build:browser": "webpack-cli --config etc/webpack.config.js",
"build:tests": "webpack-cli --config etc/webpack.config.test.js",
"compile": "npm run clean && npm run build",
"clean": "rimraf dist",
"lint": "eslint src test",
"prepublishOnly": "npm run compile",
"format": "prettier --write 'src/**/*.ts' 'test/**/*.ts'",
"watch": "npm run clean && tsc -w --declaration",
"test:unit": "mocha",
"test:browser": "npm run build:browser && npm run build:tests && ts-node test/browser/run.ts",
"test": "npm run lint && npm run test:unit && npm run test:browser"
},
"mocha": {
"extends": "etc/.mocharc.json"
},
"prettier": "./etc/.prettierrc.json",
"eslintConfig": {
"extends": "./etc/.eslintrc.json"
},
"keywords": [],
"license": "ISC",
"devDependencies": {
"@jsoverson/test-server": "^1.3.3",
"@msgpack/msgpack": "^2.5.1",
"@types/chai": "^4.2.16",
"@types/chai-as-promised": "^7.1.3",
"@types/debug": "^4.1.5",
"@types/estree": "0.0.47",
"@types/find-root": "^1.1.2",
"@types/mocha": "^8.2.2",
"@types/node": "^14.14.41",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"eslint": "^7.24.0",
"find-root": "^1.1.0",
"mocha": "^8.3.2",
"prettier": "^2.2.1",
"puppeteer": "^8.0.0",
"rimraf": "^3.0.2",
"ts-loader": "^9.0.0",
"ts-node": "^9.1.1",
"typescript": "^4.2.4",
"webpack": "^5.33.2",
"webpack-cli": "^4.6.0"
},
"dependencies": {
"debug": "^4.3.1"
}
}