-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
71 lines (71 loc) · 2.57 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
{
"name": "filter-validate-email",
"version": "1.1.3",
"main": "lib/index.js",
"module": "es/index.js",
"types": "typings/index.d.ts",
"sideEffects": false,
"scripts": {
"check": "tsc --noEmit",
"lint:eslint": "eslint {src,test}/**/*.ts *.config.js",
"lint:prettier": "prettier ./src ./test *.config.js --list-different",
"lint": "npm run lint:eslint && npm run lint:prettier",
"fix:eslint": "eslint {src,test}/**/*.ts *.config.js",
"fix:prettier": "prettier ./src ./test *.config.js --write",
"fix": "npm run fix:eslint && npm run fix:prettier",
"build:cjs": "BABEL_ENV=cjs babel src --out-dir lib --extensions .ts",
"build:es": "BABEL_ENV=es babel src --out-dir es --extensions .ts",
"build:umd": "BABEL_ENV=es NODE_ENV=development rollup -c",
"build:umd:min": "BABEL_ENV=es NODE_ENV=production rollup -c",
"build:typings": "tsc --outDir typings/ --emitDeclarationOnly",
"build": "run-p build:**",
"test": "npm run test:php && npm run test:ts",
"test:coverage": "npm run test:php && npm run test:ts:coverage",
"test:ts": "jest",
"test:ts:coverage": "jest --coverage",
"test:php": "php test/index.php",
"prepublishOnly": "git diff --no-ext-diff --quiet --exit-code src .gitignore package.json README.md LICENSE || (echo \"Please commit changes!\" && false) && npm test && rm -rf lib es dist typings && npm run build"
},
"author": "mpyw",
"contributors": [
"mpyw <[email protected]>"
],
"license": "MIT",
"description": "Email validation compatible with PHP's filter_var($v, FILTER_VALIDATE_EMAIL)",
"keywords": [
"email",
"mail",
"regex",
"regular expression",
"filter_var",
"php"
],
"repository": {
"type": "git",
"url": "git+https://github.com/mpyw/FILTER_VALIDATE_EMAIL.js.git"
},
"bugs": {
"url": "https://github.com/mpyw/FILTER_VALIDATE_EMAIL.js/issues"
},
"homepage": "https://github.com/mpyw/FILTER_VALIDATE_EMAIL.js#readme",
"devDependencies": {
"@babel/cli": "^7.14.5",
"@babel/core": "^7.14.6",
"@babel/preset-env": "^7.14.7",
"@babel/preset-typescript": "^7.14.5",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@types/jest": "^26.0.23",
"@typescript-eslint/eslint-plugin": "^4.28.1",
"@typescript-eslint/parser": "^4.28.1",
"eslint": "^7.29.0",
"eslint-config-prettier": "^8.3.0",
"jest": "^27.0.6",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.2",
"rollup": "^2.52.6",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^27.0.3",
"typescript": "^4.3.5"
}
}