Skip to content

Commit 8b708d6

Browse files
author
Kristjan Kosic - Chris
committed
feat: remove manager and init package.json
1 parent b7b89cc commit 8b708d6

File tree

2 files changed

+19
-40
lines changed

2 files changed

+19
-40
lines changed

package.json

+19-17
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
{
22
"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",
55
"version": "0.0.1",
66
"contributors": [
7-
"FirstName, LastName <[email protected]>"
7+
"Kristjan, Kosic <[email protected]>"
88
],
99
"license": "MIT",
10-
"main": "dist/index.js",
1110
"files": [
1211
"dist"
1312
],
13+
"main": "dist/index",
14+
"types": "dist/index",
1415
"scripts": {
1516
"prepublishOnly": "yarn test && yarn build",
1617
"pretest": "yarn lint && yarn build",
17-
"compile": "../../node_modules/typescript/bin/tsc",
18-
"build": "yarn clean && yarn compile",
18+
"build": "yarn clean && tsc",
1919
"build:watch": "yarn clean && yarn compile -w",
2020
"clean": "del dist",
21+
"compile": "../../node_modules/typescript/bin/tsc",
2122
"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",
2324
"format": "yarn lint && yarn prettier",
2425
"prettier": "prettier --write \"./*.{ts,js,json,md}\" \"./src/**/*.{ts,js,json,md}\" \"./__tests__/**/*.{ts,js,json,md}\"",
2526
"lint:tests": "./node_modules/tslint/bin/tslint -c ./tslint.json '__tests__/**/*.ts' --fix",
@@ -29,24 +30,25 @@
2930
"test:coverage": "cross-env CORE_ENV=test jest --coverage --coveragePathIgnorePatterns='/(defaults.ts|index.ts)$' --runInBand --forceExit"
3031
},
3132
"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"
3436
},
3537
"devDependencies": {
3638
"@sindresorhus/tsconfig": "^0.5.0",
3739
"@types/jest": "^24.0.18",
3840
"@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",
4443
"jest": "^24.9.0",
4544
"jest-extended": "^0.11.2",
45+
"prettier": "^1.18.2",
4646
"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"
5052
},
5153
"jest": {
5254
"testEnvironment": "node",

src/manager.ts

-23
This file was deleted.

0 commit comments

Comments
 (0)