-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
75 lines (75 loc) · 2.14 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "@cryptoscamdb/api",
"version": "1.2.0",
"description": "A Javascript wrapper for the CryptoScamDB API",
"main": "lib/api.node.js",
"module": "lib/api.js",
"typings": "typings/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/CryptoScamDB/api.git"
},
"keywords": [
"api"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/CryptoScamDB/api/issues"
},
"homepage": "https://github.com/CryptoScamDB/api#readme",
"dependencies": {
"isomorphic-fetch": "^2.2.1"
},
"devDependencies": {
"@babel/core": "^7.1.2",
"@babel/preset-env": "^7.1.0",
"@types/chai": "^4.1.6",
"@types/isomorphic-fetch": "0.0.34",
"@types/mocha": "^5.2.5",
"@types/node": "^10.11.3",
"@types/webpack": "^4.4.13",
"@types/webpack-merge": "^4.1.3",
"@types/webpack-node-externals": "^1.6.3",
"awesome-typescript-loader": "^5.2.1",
"chai": "^4.2.0",
"cross-env": "^5.2.0",
"husky": "^1.0.1",
"lint-staged": "^7.3.0",
"mocha": "^5.2.0",
"prettier": "^1.14.3",
"rimraf": "^2.6.2",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"tslint-microsoft-contrib": "^5.2.1",
"typescript": "^3.1.1",
"webpack": "^4.20.2",
"webpack-cli": "^3.1.2",
"webpack-merge": "^4.1.4",
"webpack-node-externals": "^1.7.2"
},
"scripts": {
"tscheck": "tsc --noEmit --project tsconfig.json",
"tslint": "tslint --project .",
"test": "mocha -r ts-node/register tests/**/*.ts",
"prepublishOnly": "npm run clean && npm run build:prod",
"clean": "rimraf ./lib",
"build": "webpack",
"build:prod": "cross-env NODE_ENV=production webpack",
"prettier:diff": "prettier --write --config ./.prettierrc --list-different 'src/**/*.ts'"
},
"lint-staged": {
"*.ts": [
"prettier --write --config ./.prettierrc --config-precedence file-override",
"tslint --project .",
"git add"
]
},
"husky": {
"hooks": {
"post-commit": "git update-index --again",
"pre-commit": "lint-staged",
"pre-push": "npm run tslint && npm run tscheck && npm run test"
}
}
}