forked from ianstormtaylor/slate-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
37 lines (37 loc) · 1.45 KB
/
package.json
File metadata and controls
37 lines (37 loc) · 1.45 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
{
"name": "slate-paste-linkify",
"description": "A Slate plugin that wraps a selection in an inline link element when a URL is pasted from the clipboard.",
"version": "0.5.0",
"license": "MIT",
"repository": "git://github.com/ianstormtaylor/slate-paste-linkify.git",
"main": "./lib/index.js",
"dependencies": {
"is-url": "^1.2.2",
"to-pascal-case": "^1.0.0"
},
"peerDependencies": {
"slate": ">=0.29.0",
"slate-react": ">=0.9.0"
},
"devDependencies": {
"babel-cli": "^6.10.1",
"browserify": "^13.0.1",
"slate": "^0.30.1",
"slate-react": "^0.10.1",
"uglify-js": "^2.7.0"
},
"scripts": {
"build": "babel --out-dir ./lib ./src",
"build:max": "mkdir -p ./dist && NODE_ENV=production browserify ./src/index.js --transform babelify --transform envify --transform [ browserify-global-shim --global ] --standalone SlatePasteLinkify > ./dist/slate-paste-linkify.js",
"build:min": "mkdir -p ./dist && NODE_ENV=production browserify ./src/index.js --transform babelify --transform envify --transform [ browserify-global-shim --global ] --transform uglifyify --standalone SlatePasteLinkify | uglifyjs > ./dist/slate-paste-linkify.min.js",
"clean": "rm -rf ./dist ./lib ./node_modules",
"prepublish": "yarn run build:max && yarn run build:min",
"watch": "babel --watch --out-dir ./lib ./src --source-maps inline"
},
"browserify-global-shim": {
"slate": "Slate"
},
"keywords": [
"slate"
]
}