|
1 | 1 | {
|
2 | 2 | "private": true,
|
3 |
| - "name": "@vendorname/your-dapp-name", |
4 |
| - "description": "Your dApp description", |
| 3 | + "name": "@learn-ark/dapp-core-module-http-server-example", |
| 4 | + "description": "A simple dApp that shows how to create custom http server on-chain", |
5 | 5 | "version": "0.0.1",
|
6 | 6 | "contributors": [
|
7 |
| - "FirstName, LastName <[email protected]>" |
| 7 | + "Kristjan, Kosic <[email protected]>" |
8 | 8 | ],
|
9 | 9 | "license": "MIT",
|
10 |
| - "main": "dist/index.js", |
11 | 10 | "files": [
|
12 | 11 | "dist"
|
13 | 12 | ],
|
| 13 | + "main": "dist/index", |
| 14 | + "types": "dist/index", |
14 | 15 | "scripts": {
|
15 | 16 | "prepublishOnly": "yarn test && yarn build",
|
16 | 17 | "pretest": "yarn lint && yarn build",
|
17 |
| - "compile": "../../node_modules/typescript/bin/tsc", |
18 |
| - "build": "yarn clean && yarn compile", |
| 18 | + "build": "yarn clean && tsc", |
19 | 19 | "build:watch": "yarn clean && yarn compile -w",
|
20 | 20 | "clean": "del dist",
|
| 21 | + "compile": "../../node_modules/typescript/bin/tsc", |
21 | 22 | "docs": "node_modules/typedoc/bin/typedoc src --out docs",
|
22 |
| - "lint": "./node_modules/tslint/bin/tslint -c ./tslint.json -p ./tslint-config.json './src/**/*.ts' --fix", |
| 23 | + "lint": "../../node_modules/tslint/bin/tslint -c ./tslint.json -p ./tslint-config.json './src/**/*.ts' --fix", |
23 | 24 | "format": "yarn lint && yarn prettier",
|
24 | 25 | "prettier": "prettier --write \"./*.{ts,js,json,md}\" \"./src/**/*.{ts,js,json,md}\" \"./__tests__/**/*.{ts,js,json,md}\"",
|
25 | 26 | "lint:tests": "./node_modules/tslint/bin/tslint -c ./tslint.json '__tests__/**/*.ts' --fix",
|
|
29 | 30 | "test:coverage": "cross-env CORE_ENV=test jest --coverage --coveragePathIgnorePatterns='/(defaults.ts|index.ts)$' --runInBand --forceExit"
|
30 | 31 | },
|
31 | 32 | "dependencies": {
|
32 |
| - "@arkecosystem/core-container": "^2.6.0-next.2", |
33 |
| - "@arkecosystem/core-interfaces": "^2.6.0-next.2" |
| 33 | + "@arkecosystem/core-container": "^2.6.0-next.6", |
| 34 | + "@arkecosystem/core-http-utils": "^2.6.0-next.6", |
| 35 | + "@arkecosystem/core-interfaces": "^2.6.0-next.6" |
34 | 36 | },
|
35 | 37 | "devDependencies": {
|
36 | 38 | "@sindresorhus/tsconfig": "^0.5.0",
|
37 | 39 | "@types/jest": "^24.0.18",
|
38 | 40 | "@types/node": "^12.7.12",
|
39 |
| - "tslint": "^5.20.0", |
40 |
| - "tslint-config-prettier": "^1.18.0", |
41 |
| - "typescript": "^3.6.4", |
42 |
| - "typedoc": "^0.15.0", |
43 |
| - "ts-jest": "^24.0.2", |
| 41 | + "cross-env": "^6.0.3", |
| 42 | + "del-cli": "^3.0.0", |
44 | 43 | "jest": "^24.9.0",
|
45 | 44 | "jest-extended": "^0.11.2",
|
| 45 | + "prettier": "^1.18.2", |
46 | 46 | "regenerator-runtime": "^0.13.0",
|
47 |
| - "cross-env": "^6.0.3", |
48 |
| - "del-cli": "^3.0.0", |
49 |
| - "prettier": "^1.18.2" |
| 47 | + "ts-jest": "^24.0.2", |
| 48 | + "tslint": "^5.20.0", |
| 49 | + "tslint-config-prettier": "^1.18.0", |
| 50 | + "typedoc": "^0.15.0", |
| 51 | + "typescript": "^3.6.4" |
50 | 52 | },
|
51 | 53 | "jest": {
|
52 | 54 | "testEnvironment": "node",
|
|
0 commit comments