Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/replace webpack tasks on babel #108

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"presets": ["es2015", "react"],
"plugins": ["transform-object-rest-spread", "transform-runtime"]
"plugins": ["transform-object-rest-spread", "transform-runtime", "transform-react-remove-prop-types"]
}
14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "emoji-mart",
"version": "1.0.1",
"description": "Customizable Slack-like emoji picker for React",
"main": "dist/emoji-mart.js",
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "git@github.com:missive/emoji-mart.git"
Expand All @@ -25,10 +25,12 @@
"react": "^0.14.0 || ^15.0.0-0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "6.7.2",
"babel-loader": "6.2.4",
"babel-plugin-transform-es2015-destructuring": "6.9.0",
"babel-plugin-transform-object-rest-spread": "6.8.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.8",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "6.6.0",
"babel-preset-react": "6.5.0",
Expand All @@ -49,16 +51,16 @@
"rimraf": "2.5.2",
"size-limit": "^0.10.0",
"svg-jsx-loader": "^0.0.16",
"webpack": "1.12.14",
"webpack-bundle-analyzer": "^2.9.0"
"webpack": "1.12.14"
},
"scripts": {
"clean": "rimraf data/ dist/",
"clean:dist": "rm -rf dist/",
"build:data": "node scripts/build-data",
"build:example": "node scripts/build-example",
"build:dist": "node scripts/build-dist",
"build:dist": "npm run clean:dist && babel src --out-dir dist --copy-files --ignore webpack.config.js",
"build": "npm run build:data && npm run build:example && npm run build:dist",
"watch": "node scripts/watch",
"watch": "babel src --watch --out-dir dist --copy-files --ignore webpack.config.js",
"start": "npm run watch",
"react:clean": "rimraf node_modules/{react,react-dom,react-addons-test-utils}",
"react:14": "npm run react:clean && npm i react@^0.14 react-dom@^0.14 react-addons-test-utils@^0.14 --save-dev",
Expand All @@ -68,7 +70,7 @@
},
"size-limit": [
{
"path": "dist/emoji-mart.js",
"path": "dist/index.js",
"limit": "110 KB"
}
]
Expand Down
44 changes: 0 additions & 44 deletions scripts/build-dist.js

This file was deleted.

28 changes: 0 additions & 28 deletions scripts/watch.js

This file was deleted.

Loading