-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
47 lines (47 loc) · 1.45 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
{
"name": "flexi-validate",
"version": "1.0.5",
"description": "Flexible JavaScript object validator",
"license": "MIT",
"author": {
"name": "Christian Natis",
"email": "",
"url": "https://github.com/cnatis"
},
"repository": {
"type": "git",
"url": "https://github.com/cnatis/flexi-validate"
},
"scripts": {
"test": "jasmine",
"build": "npm run clean-build-folder; npm run build-prod && npm run build-dev",
"build-prod": "npm run build-browser-min && npm run build-node-min",
"build-dev": "npm run build-browser && npm run build-node",
"clean-build-folder": "rm -rf ./build",
"build-browser": "webpack --target=web --output-library-target=var --output-filename=flexiValidate.browser.js",
"build-node": "webpack --target=node --output-library-target=umd --output-filename=flexiValidate.node.js",
"build-browser-min": "webpack -p --target=web --output-library-target=var --output-filename=flexiValidate.browser.min.js",
"build-node-min": "webpack -p --target=node --output-library-target=umd --output-filename=flexiValidate.node.min.js"
},
"main": "index.js",
"files": [
"build",
"index.js",
"lib.js"
],
"keywords": [
"validator",
"validation",
"flexible",
"validate",
"flexi-validate",
"flexi"
],
"devDependencies": {
"babel-core": "6.5.x",
"babel-loader": "6.2.x",
"babel-preset-es2015": "6.5.x",
"jasmine": "2.4.x",
"webpack": "1.12.x"
}
}