-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
53 lines (53 loc) · 1.58 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
{
"name": "common-validators",
"description": "Library with common validators",
"version": "0.3.0",
"author": {
"name": "Oleg Istomin",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/tamtakoe/common-validators.git"
},
"license": "MIT",
"keywords": [
"validate",
"validator",
"validators",
"library",
"api"
],
"engines": {
"node": ">=4.0.0"
},
"main": "./lib/common-validators.js",
"files": [
"dist/",
"lib/",
"LICENSE",
"README.md"
],
"dependencies": {
"validators-constructor": "0.1.6",
"normalize-date": "0.0.4"
},
"devDependencies": {
"babel-cli": "6.9.0",
"babel-preset-es2015": "6.9.0",
"browserify": "13.0.1",
"uglify-js": "2.6.2",
"chai": "3.5.0",
"mocha": "2.4.5",
"moment": "2.22.0"
},
"scripts": {
"test": "mocha 'tests/**/*.js' --timeout 5000",
"babelify": "babel src --presets es2015 --out-dir lib",
"browserify": "browserify ./lib/common-validators.js --standalone commonValidators --outfile dist/common-validators.js",
"minify": "uglifyjs dist/common-validators.js --output dist/common-validators.min.js",
"browserifyLibrary": "browserify ./lib/common-validators-library.js --standalone commonValidatorsLibrary --outfile dist/common-validators-library.js",
"minifyLibrary": "uglifyjs dist/common-validators-library.js --output dist/common-validators-library.min.js",
"build": "npm run babelify && npm run browserify && npm run minify && npm run browserifyLibrary && npm run minifyLibrary"
}
}