This repository has been archived by the owner on Jan 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 2.22 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
{
"name": "nusmoderator",
"version": "2.0.0",
"description": "A lightweight library with helpful functions for NUS-related matters",
"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__",
"docs": "documentation readme src -s \"API\"",
"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/nusmoderator.js",
"build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack src/index.js dist/nusmoderator.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 .jestconfig",
"test:cov": "npm test -- --coverage",
"test:watch": "npm test -- --watch",
"prepublish": "npm run clean && npm run check && npm run build && npm run docs --kill --print"
},
"repository": {
"type": "git",
"url": "https://github.com/nusmodifications/nusmoderator.git"
},
"keywords": [
"NUS",
"NUSMods",
"modifications",
"moderator",
"moderation",
"academic",
"year",
"semester",
"week"
],
"author": "NUSModifications",
"license": "MIT",
"bugs": {
"url": "https://github.com/nusmodifications/nusmoderator/issues"
},
"homepage": "https://github.com/nusmodifications/nusmoderator",
"npmName": "nusmoderator",
"devDependencies": {
"babel-cli": "^6.16.0",
"babel-core": "^6.18.2",
"babel-eslint": "^7.0.0",
"babel-jest": "^17.0.2",
"babel-loader": "^6.2.5",
"babel-plugin-transform-es2015-modules-commonjs": "^6.16.0",
"babel-preset-es2015": "^6.16.0",
"cross-env": "^3.1.3",
"documentation": "^4.0.0-beta15",
"eslint": "^3.9.1",
"eslint-config-airbnb-base": "latest",
"eslint-plugin-flowtype": "^2.20.0",
"eslint-plugin-import": "^2.1.0",
"jest": "^17.0.3",
"rimraf": "^2.5.4",
"webpack": "^1.13.2"
}
}