-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
81 lines (81 loc) · 2.23 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
{
"name": "cleaners",
"version": "0.3.17",
"description": "Cleans & validates untrusted data, with TypeScript & Flow support",
"keywords": [
"conversion",
"json",
"validation"
],
"repository": "https://www.github.com/swansontec/cleaners",
"license": "MIT",
"author": "William Swanson",
"exports": {
".": {
"import": {
"types": "./src/index.d.ts",
"default": "./lib/esm/cleaners.js"
},
"require": {
"types": "./src/index.d.ts",
"default": "./lib/cjs/cleaners.js"
}
},
"./package.json": "./package.json"
},
"main": "./lib/cjs/cleaners.js",
"module": "./lib/esm/cleaners.js",
"types": "./src/index.d.ts",
"files": [
"/CHANGELOG.md",
"/lib/*",
"/package.json",
"/README.md",
"/src/*"
],
"scripts": {
"clean": "rimraf lib",
"fix": "eslint . --fix",
"flow": "flow",
"lib": "rollup -c && cp src/index.js.flow lib/cjs && echo '{\"type\":\"module\"}' > lib/esm/package.json",
"lint": "eslint .",
"precommit": "lint-staged && npm-run-all -p flow types",
"prepare": "husky install && npm-run-all clean -p lib types",
"test": "nyc mocha 'test/**/*.test.ts'",
"types": "tsc",
"verify": "npm-run-all -p flow types -s lib lint test"
},
"lint-staged": {
"*.{js,ts}": "eslint"
},
"devDependencies": {
"@babel/core": "^7.13.10",
"@babel/preset-env": "^7.13.10",
"@rollup/plugin-babel": "^5.3.0",
"@types/chai": "^4.2.21",
"@types/mocha": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^4.8.2",
"@typescript-eslint/parser": "^4.8.2",
"babel-eslint": "^10.1.0",
"chai": "^4.2.0",
"eslint": "^7.14.0",
"eslint-config-standard-kit": "0.15.1",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-simple-import-sort": "^6.0.1",
"flow-bin": "^0.143.1",
"husky": "^7.0.2",
"lint-staged": "^10.5.3",
"mocha": "^9.1.1",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.2.0",
"rimraf": "^3.0.2",
"rollup": "^2.26.7",
"rollup-plugin-filesize": "^7.0.0",
"sucrase": "^3.15.0",
"typescript": "^4.1.2"
}
}