-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 3.29 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "fido",
"description": "A fast push & pull stream library for Reason/OCaml, Flow, and TypeScript",
"version": "4.0.7",
"author": "Pierre Huyghe <[email protected]>",
"source": "./src/Fido.ts",
"main": "./dist/fido.js",
"module": "./dist/fido.es.js",
"jsnext:main": "./dist/fido.es.js",
"types": "./dist/types/src/Fido.d.ts",
"sideEffects": false,
"files": [
"src",
"dist",
"docs/*.md",
"*.md",
"index.js.flow",
"esy.lock",
"dune-project",
"fido.opam",
"esy.json",
"bsconfig.json"
],
"scripts": {
"docs:dev": "gatsby develop",
"docs:build": "gatsby build",
"check:ts": "tsc --noEmit",
"check": "run-s check:ts check:flow",
"bs:clean": "bsb -clean-world",
"bs:build": "bsb -make-world",
"bs:watch": "bsb -make-world -w",
"test": "jest",
"refmt": "bsrefmt --in-place **/**/*.{re,rei}",
"flowgen": "./scripts/generate-flow-files.js",
"bundle:clean": "rimraf dist node_modules/.cache",
"bundle": "rollup -c rollup.config.js",
"clean": "run-s bs:clean bundle:clean",
"build": "run-s bs:build bundle flowgen",
"prepublishOnly": "run-s clean build check test",
"build:all": "yarn clean && esy build && yarn build && yarn bundle"
},
"keywords": [
"fido",
"reason",
"bucklescript"
],
"license": "MIT",
"dependencies": {
"bs-fetch": "^0.5.1"
},
"devDependencies": {
"@ampproject/rollup-plugin-closure-compiler": "^0.18.1",
"@babel/core": "^7.7.7",
"@babel/plugin-syntax-typescript": "^7.7.4",
"@babel/plugin-transform-modules-commonjs": "^7.7.5",
"@babel/preset-env": "^7.7.7",
"@glennsl/bs-jest": "^0.4.9",
"@rollup/plugin-buble": "^0.21.0",
"@rollup/plugin-commonjs": "^11.0.1",
"@rollup/plugin-node-resolve": "^6.1.0",
"@types/jest": "^24.0.25",
"@types/zen-observable": "^0.8.0",
"babel-plugin-closure-elimination": "^1.3.0",
"bs-platform": "7.0.2-dev.1",
"coveralls": "^3.0.9",
"flow-bin": "^0.115.0",
"flowgen": "^1.10.0",
"gentype": "^3.9.1",
"globby": "^10.0.1",
"husky": "^3.1.0",
"lint-staged": "^9.5.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1",
"rimraf": "^3.0.0",
"rollup": "^1.28.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-terser": "^5.1.3",
"rollup-plugin-typescript2": "^0.25.3",
"ts-jest": "^24.2.0",
"typescript": "^3.7.4"
},
"lint-staged": {
"*.{d.ts,js}": [
"prettier --write",
"git add"
],
"*.{re,rei}": [
"bsrefmt --in-place",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"prettier": {
"singleQuote": true,
"printWidth": 100
},
"jest": {
"testEnvironment": "node",
"testRegex": "(src/.*(\\.|/)(test|spec))\\.(t|j)sx?$",
"moduleFileExtensions": [
"js",
"ts",
"tsx"
],
"transform": {
"\\.jsx?$": "<rootDir>/scripts/jest-transform-esm.js",
"\\.tsx?$": "ts-jest"
},
"transformIgnorePatterns": [
"/node_modules/(?!bs-platform)"
],
"collectCoverageFrom": [
"!<rootDir>/src/fido.{ts,bs.js}",
"!<rootDir>/src/fido_types.{ts,bs.js}",
"!<rootDir>/src/include/**",
"!<rootDir>/src/**/*.{shim,gen}.{ts,tsx}",
"<rootDir>/src/**/*.{js,ts,tsx}"
]
}
}