forked from sanity-io/block-content-to-hyperscript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 1.99 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
{
"name": "@sanity/block-content-to-hyperscript",
"description": "Function for transforming Sanity block content to HyperScript",
"version": "1.3.3",
"main": "lib/index.js",
"umd": "umd/blocksToHyperScript.min.js",
"scripts": {
"browserify": "NODE_ENV=production BROWSERIFY_ENV=build DEBUG='' browserify -t envify -g uglifyify lib/index.js -o umd/blocksToHyperScript.js --standalone=blocksToHyperScript",
"build": "npm run clean && npm run compile && npm run browserify && npm run minify",
"watch": "npm run compile -- --watch",
"clean": "rimraf lib coverage .nyc_output umd/*.js",
"compile": "babel --source-maps --copy-files -d lib/ src/",
"coverage": "npm test -- --coverage",
"minify": "uglifyjs -c -m -- umd/blocksToHyperScript.js > umd/blocksToHyperScript.min.js",
"postpublish": "npm run clean",
"posttest": "eslint .",
"prepublishOnly": "npm run build",
"test": "jest"
},
"keywords": [],
"author": "Sanity <hello@sanity.io>",
"license": "MIT",
"dependencies": {
"@sanity/generate-help-url": "^0.132.5",
"@sanity/image-url": "^0.132.5",
"hyperscript": "^2.0.2",
"object-assign": "^4.1.1"
},
"devDependencies": {
"@sanity/block-content-tests": "^0.0.10",
"babel-cli": "^6.26.0",
"babel-eslint": "^8.2.3",
"babel-preset-env": "^1.7.0",
"browserify": "^16.2.2",
"envify": "^4.1.0",
"eslint": "^4.19.1",
"eslint-config-prettier": "^2.4.0",
"eslint-config-sanity": "^3.0.1",
"eslint-plugin-import": "^2.11.0",
"jest": "^22.4.3",
"prettier": "^1.12.1",
"rimraf": "^2.6.2",
"uglify-js": "^3.3.25",
"uglifyify": "^5.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/block-content-to-hyperscript.git"
},
"bugs": {
"url": "https://github.com/sanity-io/block-content-to-hyperscript/issues"
},
"homepage": "https://github.com/sanity-io/block-content-to-hyperscript#readme",
"jest": {
"collectCoverageFrom": [
"src/**/*.js"
]
}
}