-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.46 KB
/
Copy pathpackage.json
File metadata and controls
90 lines (90 loc) · 2.46 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "stdcp",
"version": "2.0.0",
"description": "An effort to encapsulate the output code page used by the console of current process.",
"keywords": [
"GetACP",
"GetConsoleOutputCP",
"SetConsoleOutputCP",
"chcp",
"console",
"terminal",
"codepage",
"code-page",
"code",
"page",
"encoding",
"charset",
"character"
],
"license": "MIT",
"homepage": "https://github.com/gucong3000/stdcp#readme",
"author": "gucong3000",
"repository": {
"type": "git",
"url": "git+https://github.com/gucong3000/stdcp.git"
},
"bugs": {
"url": "https://github.com/gucong3000/stdcp/issues"
},
"main": "lib/index.js",
"dependencies": {
"node-pre-gyp": "^0.12.0"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.2.3",
"@babel/register": "^7.0.0",
"@babel/runtime": "^7.2.0",
"chai": "^4.2.0",
"codecov": "^3.1.0",
"eclint": "^2.8.1",
"eslint": "^5.10.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^8.0.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"fs-extra": "^7.0.1",
"mocha": "^5.2.0",
"nyc": "^13.1.0"
},
"binary": {
"module_name": "stdcp",
"module_path": "./lib/binding/{platform}-{arch}-{node_napi_label}",
"package_name": "{platform}-{arch}-{node_napi_label}.tar.gz",
"host": "https://github.com/gucong3000/stdcp/releases/download/",
"remote_path": "v{version}",
"napi_versions": [
1,
2,
3
]
},
"nyc": {
"reporter": [
"lcov",
"text-summary"
],
"cache": true
},
"scripts": {
"install": "node-pre-gyp install --fallback-to-build || echo fallback",
"build:babel": "rm -rf lib/**/*.js && babel src --out-dir lib",
"build:gyp": "node-pre-gyp rebuild --build-from-source && node-pre-gyp package",
"build": "npm run build:babel && npm run build:gyp",
"unit": "nyc mocha --require test/polyfill --no-timeouts",
"lint:eclint": "eclint check $(git ls-files | tee /tmp/git-files)",
"lint:eslint": "eslint --ignore-pattern ! $(grep \"\\.js$\" /tmp/git-files)",
"lint": "npm run lint:eclint && npm run lint:eslint",
"pretest": "env npm run lint --script-shell=/bin/sh",
"test": "npm run unit",
"report-coverage": "codecov"
},
"gypfile": true,
"os": [
"win32"
]
}