|
3 | 3 | "version": "6.0.0", |
4 | 4 | "description": "a collection of utility functions for Ethereum", |
5 | 5 | "main": "dist/index.js", |
| 6 | + "types": "./dist/index.d.ts", |
6 | 7 | "files": [ |
7 | 8 | "dist" |
8 | 9 | ], |
9 | 10 | "scripts": { |
10 | | - "coverage": "npm run build:dist && istanbul cover _mocha", |
| 11 | + "build": "ethereumjs-config-build", |
| 12 | + "prepublishOnly": "npm run test && npm run build", |
| 13 | + "coverage": "npm run build && istanbul cover _mocha", |
11 | 14 | "coveralls": "npm run coverage && coveralls <coverage/lcov.info", |
12 | | - "lint": "standard", |
13 | | - "prepublishOnly": "npm run test && npm run build:dist", |
| 15 | + "docs:build": "typedoc --out docs --mode file --readme none --theme markdown --mdEngine github --excludeNotExported src", |
| 16 | + "format": "ethereumjs-config-format", |
| 17 | + "format:fix": "ethereumjs-config-format-fix", |
| 18 | + "lint": "ethereumjs-config-lint", |
| 19 | + "lint:fix": "ethereumjs-config-lint-fix", |
14 | 20 | "test": "npm run lint && npm run test:node && npm run test:browser", |
15 | | - "test:browser": "npm run build:dist && karma start karma.conf.js", |
16 | | - "test:node": "npm run build:dist && istanbul test mocha -- --reporter spec", |
17 | | - "build:dist": "babel index.js --source-root ./ -d ./dist", |
18 | | - "build:docs": "documentation build ./index.js --github --sort-order='alpha' -f md > ./docs/index.md" |
| 21 | + "test:browser": "npm run build && karma start karma.conf.js", |
| 22 | + "test:node": "npm run build && istanbul test mocha -- --reporter spec", |
| 23 | + "tsc": "ethereumjs-config-tsc", |
| 24 | + "tslint": "ethereumjs-config-tslint", |
| 25 | + "tslint:fix": "ethereumjs-config-tslint-fix" |
19 | 26 | }, |
20 | 27 | "repository": { |
21 | 28 | "type": "git", |
|
85 | 92 | "secp256k1": "^3.0.1" |
86 | 93 | }, |
87 | 94 | "devDependencies": { |
| 95 | + "@ethereumjs/config-prettier": "^1.1.0", |
| 96 | + "@ethereumjs/config-tsc": "^1.1.0", |
| 97 | + "@ethereumjs/config-tslint": "^1.1.0", |
| 98 | + "@types/bn.js": "^4.11.3", |
| 99 | + "@types/node": "^10.12.18", |
88 | 100 | "babel-cli": "^6.26.0", |
89 | 101 | "babel-preset-env": "^1.6.1", |
90 | 102 | "babelify": "^8.0.0", |
91 | 103 | "browserify": "^14.0.0", |
92 | 104 | "contributor": "^0.1.25", |
93 | 105 | "coveralls": "^3.0.0", |
94 | | - "documentation": "^5.2.0", |
95 | 106 | "istanbul": "^0.4.1", |
96 | 107 | "karma": "^2.0.0", |
97 | 108 | "karma-browserify": "^5.0.0", |
|
101 | 112 | "karma-firefox-launcher": "^1.0.0", |
102 | 113 | "karma-mocha": "^1.3.0", |
103 | 114 | "mocha": "^4.0.0", |
104 | | - "standard": "^10.0.0" |
105 | | - }, |
106 | | - "standard": { |
107 | | - "globals": [ |
108 | | - "describe", |
109 | | - "it" |
110 | | - ], |
111 | | - "ignore": [ |
112 | | - "dist/**" |
113 | | - ] |
| 115 | + "prettier": "^1.15.3", |
| 116 | + "tslint": "^5.12.0", |
| 117 | + "typedoc": "^0.14.0", |
| 118 | + "typedoc-plugin-markdown": "^1.1.21", |
| 119 | + "typescript": "^3.2.2", |
| 120 | + "typestrict": "^1.0.2" |
114 | 121 | } |
115 | 122 | } |
0 commit comments