-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
45 lines (45 loc) · 1.3 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
{
"name": "option-type",
"version": "0.2.0",
"description": "An Option type for Flow, inspired by Rust.",
"repository": "dgraham/option-type",
"main": "dist/index.umd.js",
"module": "dist/index.esm.js",
"scripts": {
"clean": "rm -rf dist",
"flow": "flow check",
"lint": "eslint *.js test/",
"prebuild": "npm run clean && npm run flow && npm run lint && mkdir dist",
"build-umd": "BABEL_ENV=umd babel index.js -o dist/index.umd.js && cp index.js dist/index.umd.js.flow",
"build-esm": "BABEL_ENV=esm babel index.js -o dist/index.esm.js && cp index.js dist/index.esm.js.flow",
"build": "npm run build-umd && npm run build-esm",
"pretest": "npm run flow && npm run lint",
"test": "BABEL_ENV=umd mocha --require babel-register",
"prepublishOnly": "npm run build"
},
"keywords": [
"optional",
"option",
"some",
"none",
"maybe",
"result"
],
"author": "David Graham",
"license": "MIT",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-eslint": "^10.1.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-flow": "^6.23.0",
"babel-register": "^6.26.0",
"eslint": "^7.7.0",
"eslint-plugin-prettier": "^3.1.4",
"flow-bin": "^0.132.0",
"mocha": "^8.1.3",
"prettier": "^2.1.1"
},
"files": [
"dist"
]
}