Skip to content

Commit

Permalink
package json and babel config
Browse files Browse the repository at this point in the history
  • Loading branch information
jonsherrard committed Jun 16, 2016
1 parent b113936 commit 9f5886b
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["es2015", "stage-0"]
}
32 changes: 32 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "acf-code-editor",
"version": "1.0.0",
"description": "An ACF Field type plugin for a stricter wysiwyg field.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build-js": "./node_modules/browserify/bin/cmd.js src/main.js -o js/custom-js.js -t [ babelify --presets [ es2015 stage-0 ] ]",
"watch-js": "./node_modules/watchify/bin/cmd.js src/main.js -o js/custom-js.js -t [ babelify --presets [ es2015 stage-0 ] ] -v"
},
"repository": {
"type": "git",
"url": "git+https://github.com/shortlist-digital/acf-code-editor.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/shortlist-digital/acf-code-editor/issues"
},
"homepage": "https://github.com/shortlist-digital/acf-code-editor#readme",
"devDependencies": {
"babel-cli": "6.3.*",
"babel-preset-es2015": "^6.3.13",
"babel-preset-stage-0": "^6.3.13",
"babelify": "^7.2.0",
"browserify": "^13.0.0"
},
"dependencies": {
"codemirror": "^5.15.2",
"watchify": "^3.7.0"
}
}

0 comments on commit 9f5886b

Please sign in to comment.