Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.94 KB
/
Copy pathpackage.json
File metadata and controls
50 lines (50 loc) · 1.94 KB
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
{
"name": "goodforms",
"version": "2.0.1",
"description": "Javascript to validate email addresses, optionally using the paid Goodforms service",
"keywords": [
"email",
"verification",
"verify",
"domain",
"dns"
],
"browser": "./dist/verify.js",
"exports": "./index.js",
"unpkg": "./dist/verify.js",
"files": [
"/dist/verify.js",
"/dist/verify.js.map",
"/*.js",
"/*.css",
"/*.html"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"watch": "SERVERIP=$(ifconfig en0|grep 'inet '|cut -d ' ' -f 2); echo \"SERVERIP IS: $SERVERIP\"; rollup -c --watch --environment SNIPPET_ENV:dev --environment SERVERIP:$SERVERIP",
"version": "npm run production; git add dist/verify.js*; sed s/%VERSION%/$npm_package_version/ README_tempate.md > README.md; git add README.md",
"compress": "uglifyjs --source-map -o dist/dev-verify.min.js dist/dev-verify.js",
"prod": "npm run production",
"prodwatch": "SERVERNAME=https://api.goodforms.com rollup -c --watch --environment SNIPPET_ENV:production",
"production": "SERVERNAME=https://api.goodforms.com rollup -c --environment SNIPPET_ENV:production && uglifyjs --source-map \"url='https://unpkg.com/goodforms@$npm_package_version/dist/verify.js.map',content=inline\" -o dist/verify.js dist/prod-verify.js"
},
"repository": {
"type": "git",
"url": "https://github.com/grokability/goodforms-js.git"
},
"author": "bwetherington@grokability.com",
"license": "MIT-0",
"devDependencies": {
"@rollup/plugin-buble": "^1.0.3",
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-replace": "^6.0.3",
"less": "^4.6.7",
"regenerator-runtime": "^0.13.7",
"rollup": "^4.54.0",
"rollup-plugin-html": "git+https://git@github.com/grokability/rollup-plugin-html.git",
"rollup-plugin-postcss": "^4.0.2",
"style-inject": "^0.3.0",
"uglify-js": "^3.12.1"
}
}