1 | {
|
2 | "name": "@36node/template-tcp",
|
3 | "version": "0.6.46",
|
4 | "description": "A module boilerplate for tcp server.",
|
5 | "repository": {
|
6 | "url": "36node/sketch",
|
7 | "type": "git"
|
8 | },
|
9 | "license": "MIT",
|
10 | "publishConfig": {
|
11 | "access": "public"
|
12 | },
|
13 | "template": "tcp",
|
14 | "files": [
|
15 | ".circleci",
|
16 | "bin",
|
17 | "dist",
|
18 | "test",
|
19 | "typings",
|
20 | "README.md",
|
21 | "src"
|
22 | ],
|
23 | "bin": {
|
24 | "server": "bin/server.js"
|
25 | },
|
26 | "config-overrides-path": "../cli/config-overrides",
|
27 | "main": "dist/index.js",
|
28 | "typings": "typings/index.d.ts",
|
29 | "scripts": {
|
30 | "build": "sketch build src/{server,index}.js",
|
31 | "format": "prettier --trailing-comma es5 --write 'src/**/*.js'",
|
32 | "lint": "sketch lint src",
|
33 | "release": "standard-version",
|
34 | "start": "sketch start | pino-pretty -t 'SYS:yyyy-mm-dd HH:MM:ss'",
|
35 | "test": "sketch test --env=node",
|
36 | "test:int": "sketch test -c test/jest.config.js"
|
37 | },
|
38 | "commitlint": {
|
39 | "extends": [
|
40 | "@commitlint/config-conventional"
|
41 | ]
|
42 | },
|
43 | "husky": {
|
44 | "hooks": {
|
45 | "commit-msg": "commitlint -e $GIT_PARAMS",
|
46 | "pre-commit": "lint-staged",
|
47 | "pre-push": "npm run lint && CI=true npm run test"
|
48 | }
|
49 | },
|
50 | "lint-staged": {
|
51 | "*.js": [
|
52 | "npm run format",
|
53 | "git add"
|
54 | ]
|
55 | },
|
56 | "devDependencies": {
|
57 | "@36node/eslint-config": "^0.6.4",
|
58 | "@36node/sketch": "^0.15.1",
|
59 | "@commitlint/cli": "^7.5.2",
|
60 | "@commitlint/config-conventional": "^7.5.0",
|
61 | "@types/jest": "^24.0.12",
|
62 | "husky": "^1.3.1",
|
63 | "lint-staged": "^8.1.5",
|
64 | "pino-pretty": "^2.5.0",
|
65 | "prettier": "^1.18.2",
|
66 | "standard-version": "^6.0.1"
|
67 | },
|
68 | "dependencies": {
|
69 | "@36node/whisper": "^0.1.0",
|
70 | "dotenv": "^7.0.0",
|
71 | "only": "^0.0.2",
|
72 | "pino": "^5.11.1"
|
73 | },
|
74 | "jest": {
|
75 | "displayName": "unit",
|
76 | "testMatch": [
|
77 | "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
|
78 | "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
|
79 | ],
|
80 | "transformIgnorePatterns": [
|
81 | "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
|
82 | "^.+\\.module\\.(css|sass|scss)$"
|
83 | ]
|
84 | },
|
85 | "babel": {
|
86 | "presets": [
|
87 | "react-app"
|
88 | ]
|
89 | },
|
90 | "gitHead": "d0fe3ae703cf641207d7ee8be447980e01928f4c"
|
91 | }
|