This repository was archived by the owner on Dec 2, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 2.17 KB
/
package.json
File metadata and controls
66 lines (66 loc) · 2.17 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
{
"name": "example-lib",
"version": "0.0.1",
"description": "<Your Lib's Description>",
"main": "lib/example-lib.js",
"files": [
"src/",
"dist/",
"lib/"
],
"scripts": {
"test": "cross-env NODE_ENV=test mocha --require @babel/register --colors ./test/*.spec.js",
"coverage": "nyc --reporter=text --reporter=lcov npm test",
"lint": "eslint src/**/*.js",
"build:umdmin": "webpack --mode=production --output-library-target=umd",
"build:umd": "webpack --mode=development --output-library-target=umd",
"build:commonjs": "webpack --mode=development --output-library-target=commonjs2",
"build": "npm-run-all build:*",
"dev:umd": "webpack --progress --colors --watch --mode=development --output-library-target=umd",
"dev:commonjs": "webpack --progress --colors --watch --mode=development --output-library-target=commonjs2",
"dev": "npm-run-all --parallel dev:*",
"clean": "rimraf dist lib coverage",
"prepare": "npm-run-all clean lint test build"
},
"repository": {
"type": "git",
"url": "git+https://github.com:Array-Huang/javascript-library-boilerplate.git"
},
"keywords": [],
"author": "Array-Huang<hyw125@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/Array-Huang/javascript-library-boilerplate/issues"
},
"homepage": "https://github.com/Array-Huang/javascript-library-boilerplate",
"devDependencies": {
"@babel/core": "~7.6.0",
"@babel/plugin-proposal-object-rest-spread": "~7.5.5",
"@babel/preset-env": "~7.6.0",
"@babel/register": "~7.6.0",
"babel-loader": "~8.0.6",
"chai": "~4.2.0",
"cross-env": "~6.0.0",
"cz-conventional-changelog": "^3.0.2",
"eslint": "~6.4.0",
"eslint-loader": "~3.0.0",
"mocha": "~6.2.0",
"npm-run-all": "~4.1.5",
"nyc": "~14.1.1",
"rimraf": "~3.0.0",
"sinon": "~7.4.2",
"sinon-chai": "~3.3.0",
"webpack": "~4.40.2",
"webpack-cli": "~3.3.9",
"yargs": "~14.1.0"
},
"browserslist": "> 0.5%, last 2 versions, Firefox ESR, not dead",
"dependencies": {
"babel-eslint": "^10.0.3"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}