This repository has been archived by the owner on Aug 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 1.75 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
{
"name": "reyaml-core",
"version": "1.0.6",
"repository": {
"type": "git",
"url": "https://github.com/cedricpoon/reyaml-core"
},
"description": "Core & CLI in REyaml for YAML to D3 Hierarchy transformation, and more.",
"keywords": [
"yaml",
"json",
"traverse",
"modify",
"patch",
"d3",
"cli"
],
"main": "index.js",
"bin": {
"rc": "./bin/rc.js"
},
"dependencies": {
"argparse": "^1.0.10",
"js-yaml": "^3.13.1"
},
"devDependencies": {
"browserify": "^16.5.1",
"browserify-shim": "^3.8.14",
"eslint": "^6.8.0",
"uglify-es": "^3.3.9"
},
"scripts": {
"start": "./bin/rc.js",
"headline": "echo \"/* $npm_package_name v$npm_package_version | $npm_package_repository_url | licensed in $npm_package_license */\"",
"eslint": "node ./node_modules/.bin/eslint .",
"build-test": "grep -l \"v$npm_package_version\" ./dist/reyaml-core.*",
"version-test": "npm view reyaml-core version | grep -vq $npm_package_version",
"test": "npm audit && npm run eslint && npm run version-test && npm run build-test",
"debug": "node -i -e \"$(< index.js)\"",
"debug-windows": "@powershell node -i -e \\\"$(Get-Content index.js)\\\"",
"build": "npm update && npm run browserify && npm run minify",
"browserify": "(echo \"$(npm run headline --silent)\" ; ./node_modules/.bin/browserify ./index.js -s rc) > ./dist/reyaml-core.js",
"minify": "./node_modules/.bin/uglifyjs ./dist/reyaml-core.js -cm -b \"beautify=false,preamble='$(npm run headline --silent)'\" > ./dist/reyaml-core.min.js"
},
"browserify": {
"transform": [
"browserify-shim"
]
},
"browserify-shim": {
"js-yaml": "global:jsyaml"
},
"author": "Cedric Poon <cedric@poons.me>",
"license": "MIT"
}