-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
78 lines (78 loc) · 1.99 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
76
77
78
{
"name": "dazhaohu",
"private": false,
"version": "1.0.4",
"description": "say greeting, 打招呼",
"keywords": [
"npm",
"node",
"greeting",
"boilerplate",
"打招呼"
],
"main": "index.js",
"module": "dist/dzh.esm.mjs",
"jsnex:main": "dist/dzh.esm.mjs",
"unpkg": "dist/dzh.js",
"jsdelivr": "dist/dzh.js",
"bin": {
"dzh": "bin.js"
},
"homepage": "https://github.com/sjy/dazhaohu#README",
"repository": {
"type": "git",
"url": "https://github.com/sjy/dazhaohu"
},
"files": [
"dist",
"bin.js",
"index.js"
],
"scripts": {
"postinstall": "rimraf node_modules/jest-runtime/node_modules/babel-core node_modules/jest-config/node_modules/babel-core",
"prebuild": "rimraf ./dist/*",
"build": "npm run build:umd && npm run build:commonjs && npm run build:es",
"build:umd": "cross-env BABEL_ENV=umd babel src -o dist/dzh.js",
"build:es": "cross-env BABEL_ENV=es babel src -o dist/dzh.esm.mjs",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src -o dist/dzh.common.js",
"lint": "eslint .",
"precommit": "lint-staged",
"test": "jest",
"coveralls": "jest --coverage && cat ./coverage/lcov.info | coveralls"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"browser": {
"index.js": "dist/dzh.js"
},
"engines": {
"node": ">=4"
},
"author": "johnson",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.1",
"@babel/preset-env": "^7.0.0",
"@babel/register": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-plugin-add-module-exports": "^1.0.0",
"babel-plugin-inline-json-import": "^0.2.1",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"eslint": "^5.6.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.14.0",
"husky": "^0.14.3",
"jest": "^23.6.0",
"lint-staged": "^7.2.2",
"rmraf": "^1.0.3"
},
"dependencies": {
"commander": "^2.18.0"
}
}