-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.5 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
{
"name": "poly-jsbridge-sdk",
"version": "1.0.2",
"description": "A simple jsbridge protocol scheme.",
"main": "dist/index.js",
"browser": "browser/polyJsbridgeSdk.min.js",
"scripts": {
"lint": "eslint --ext .tsx,.ts,.js,.jsx --fix ./lib ./tests",
"fix": "prettier --write ./lib ./tests",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s 0",
"cover": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec dist/tests/*.js",
"cover:publish": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec dist/tests/*.js && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"test:dev": "mocha --bail --exit --reporters spec --require ts-node/register tests/*.test.ts",
"test": "mocha --bail --exit --reporters spec dist/tests/*.js",
"build-browser": "webpack --config webpack.dev.js && webpack --config webpack.prod.js",
"build": "npm run clean && tsc -p tsconfig.json && npm run build-browser",
"clean": "rm -rf ./dist"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm run fix && git add ."
}
},
"keywords": [
"typescript",
"jsbridge",
"webview",
"webview-flutter"
],
"author": "hsycc",
"license": "Apache Licence 2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/hsycc/poly-jsbridge-sdk.git"
},
"bugs": {
"url": "https://github.com/hsycc/poly-jsbridge-sdk/issues"
},
"homepage": "https://github.com/hsycc/poly-jsbridge-sdk#readme",
"dependencies": {},
"devDependencies": {
"@types/chai": "^4.2.19",
"@types/jsdom": "^16.2.13",
"@types/mocha": "^7.0.2",
"@types/node": "^16.11.7",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"chai": "^4.3.4",
"commitizen": "^4.2.4",
"conventional-changelog-cli": "^2.1.1",
"copy-webpack-plugin": "^9.1.0",
"coveralls": "^3.1.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^4.3.8",
"istanbul": "^0.4.5",
"jsdom": "^18.1.0",
"mocha": "^9.0.1",
"mocha-lcov-reporter": "^1.3.0",
"prettier": "^2.4.1",
"ts-loader": "^9.2.3",
"ts-node": "^10.0.0",
"typescript": "4.4.4",
"webpack": "^5.40.0",
"webpack-cli": "^4.7.2",
"webpack-merge": "^5.8.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}