UNPKG

1.64 kBJSONView Raw
1{
2 "name": "@36node/whisper",
3 "version": "0.0.1",
4 "description": "A module for tcp framework, like kao for web.",
5 "repository": {
6 "url": "36node/whisper",
7 "type": "git"
8 },
9 "license": "MIT",
10 "publishConfig": {
11 "access": "public"
12 },
13 "files": [
14 "bin",
15 "dist"
16 ],
17 "main": "dist/index.js",
18 "scripts": {
19 "start": "nodemon examples/simple.js --watch src --exec 'babel-node'",
20 "build": "rm -rf dist && babel ./src -d ./dist --ignore test.js",
21 "format": "prettier --trailing-comma es5 --single-quote --write",
22 "lint": "eslint src",
23 "prepublishOnly": "npm run build",
24 "release": "standard-version && git push --follow-tags origin master",
25 "test:cov": "jest --coverage && npm run lint",
26 "test": "npm run lint && jest"
27 },
28 "commitlint": {
29 "extends": [
30 "@commitlint/config-conventional"
31 ]
32 },
33 "husky": {
34 "hooks": {
35 "commit-msg": "commitlint -e $GIT_PARAMS",
36 "pre-commit": "lint-staged",
37 "pre-push": "npm test"
38 }
39 },
40 "jest": {
41 "testEnvironment": "node"
42 },
43 "lint-staged": {
44 "*.js": [
45 "npm run format",
46 "git add"
47 ]
48 },
49 "devDependencies": {
50 "@36node/babel": "*",
51 "@36node/eslint-config": "0.0.2",
52 "@commitlint/cli": "6.1.0",
53 "@commitlint/config-conventional": "6.1.0",
54 "husky": "1.0.0-rc.13",
55 "jest": "23.4.2",
56 "lint-staged": "7.2.0",
57 "nodemon": "1.18.3",
58 "prettier": "1.13.7",
59 "standard-version": "4.4.0"
60 },
61 "dependencies": {
62 "debug": "3.1.0",
63 "delegates": "1.0.0",
64 "koa-compose": "4.1.0",
65 "only": "0.0.2",
66 "shortid": "2.2.12"
67 }
68}