This repository has been archived by the owner on Jan 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 1.97 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
{
"name": "npm-starter",
"version": "0.1.1",
"description": "Starter kit for npm modules in es2015",
"main": "lib/index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"files": [
"dist",
"lib",
"es",
"src"
],
"scripts": {
"clean": "rimraf lib dist es coverage",
"check": "npm run lint && npm run test",
"lint": "eslint src __tests__",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
"build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development webpack src/index.js dist/npm-starter.js",
"build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack src/index.js dist/npm-starter.min.js",
"build": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min",
"test": "cross-env BABEL_ENV=commonjs jest --config jest.config.js",
"test:cov": "npm test -- --coverage",
"test:watch": "npm test -- --watch",
"prepublish": "npm run clean && npm run check && npm run build --kill --print"
},
"repository": {
"type": "git",
"url": "https://github.com/nusmodifications/npm-starter.git"
},
"keywords": [
"npm",
"starter",
"es6",
"commonjs",
"umd"
],
"author": "NUSModifications",
"license": "MIT",
"bugs": {
"url": "https://github.com/nusmodifications/npm-starter/issues"
},
"homepage": "https://github.com/nusmodifications/npm-starter",
"npmName": "npm-starter",
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-jest": "^20.0.3",
"babel-loader": "^7.0.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"cross-env": "^5.0.0",
"eslint": "^3.19.0",
"eslint-config-airbnb-base": "^11.2.0",
"eslint-plugin-import": "^2.0.1",
"jest": "^20.0.3",
"rimraf": "^2.6.1",
"webpack": "^2.5.1"
}
}