-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
57 lines (57 loc) · 2.02 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
{
"name": "webpack-library-starter-kit",
"version": "1.0.0",
"description": "Webpack starter kit for creating libraries (Input: ES6, Output: UMD, CommonJS)",
"main": "lib/Library.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 build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/georapbox/webpack-library-starter-kit.git"
},
"keywords": [],
"author": "George Raptis <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/georapbox/webpack-library-starter-kit/issues"
},
"homepage": "https://github.com/georapbox/webpack-library-starter-kit#readme",
"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",
"eslint": "~6.4.0",
"eslint-loader": "~3.0.0",
"mocha": "~10.1.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"
}