-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
93 lines (93 loc) · 3.38 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
{
"name": "lc-validator-fields-match",
"version": "1.0.1",
"description": "lc-form-validation validator for if two fields match",
"files": [
"dist",
"es",
"lib",
"index.d.ts",
"LICENSE",
"package.json",
"readme.md"
],
"browser": "lib/index.js",
"main": "lib/index.js",
"module": "lib/index.esm.js",
"types": "index.d.ts",
"jsnext:main": "es/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/Lemoncode/lc-validator-fields-match.git"
},
"keywords": [
"lc-form-validation",
"form",
"validation",
"validator",
"fields-match"
],
"homepage": "https://github.com/Lemoncode/lc-validator-fields-match/blob/master/readme.md",
"author": "Lemoncode",
"contributors": [
"Javier Calzado <[email protected]> (https://github.com/fjcalzado)",
"Sara Lissette Luis Ibáñez <[email protected]> (https://github.com/LissetteIbnz)"
],
"license": "MIT",
"scripts": {
"clean": "rimraf build",
"typecheck": "tsc --pretty --noEmit",
"typecheck:watch": "npm run typecheck -- --watch",
"build": "npm run clean && npm run typecheck && npm run build:lib && npm run build:lib:esm && npm run build:umd && npm run build:umd:min && npm run build:es && npm run build:copyfiles",
"build:lib": "cross-env BABEL_ENV=es5_cjs babel ./src --out-dir ./build/lib --ignore 'src/**/*.test.ts,src/**/*.test.js' --extensions '.ts,.js'",
"build:lib:esm": "cross-env BABEL_ENV=es5_esm babel ./src/index.ts --out-file ./build/lib/index.esm.js",
"build:es": "cross-env BABEL_ENV=es babel ./src --out-dir ./build/es --ignore 'src/**/*.test.ts,src/**/*.test.js' --extensions '.ts,.js'",
"build:umd": "cross-env BABEL_ENV=umd NODE_ENV=development webpack",
"build:umd:min": "cross-env BABEL_ENV=umd NODE_ENV=production webpack -p",
"build:copyfiles": "copyfiles package.json index.d.ts readme.md LICENSE build",
"test": "cross-env NODE_ENV=test jest --verbose --config jest.json",
"test:watch": "cross-env NODE_ENV=test jest --verbose --watchAll --config jest.json",
"lint": "tslint --project . --format stylish",
"lint:fix": "prettier --write src/**/*.{ts,tsx,js,jsx} && tslint --project . --fix",
"prerelease": "npm run lint:fix && npm run test && npm run build",
"release": "npm publish ./build",
"release:local": "npm install ./build -g"
},
"dependencies": {},
"peerDependencies": {
"lc-form-validation": "^2.0.0"
},
"devDependencies": {
"@babel/cli": "^7.1.0",
"@babel/core": "^7.1.0",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"@babel/preset-typescript": "^7.1.0",
"@babel/register": "^7.0.0",
"@types/jest": "^23.3.2",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.2",
"compression-webpack-plugin": "^2.0.0",
"copyfiles": "^2.1.0",
"cross-env": "^5.2.0",
"husky": "^1.3.1",
"jest": "^23.6.0",
"lc-form-validation": "^2.0.0",
"prettier": "^1.14.3",
"pretty-quick": "^1.10.0",
"rimraf": "^2.6.2",
"ts-jest": "^23.10.1",
"tslint": "^5.11.0",
"typescript": "^3.0.3",
"webpack": "^4.19.1",
"webpack-cli": "^3.1.0"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged",
"pre-push": "npm run typecheck && npm run test"
}
}
}