Skip to content

Commit

Permalink
packing
Browse files Browse the repository at this point in the history
  • Loading branch information
leungwensen committed Aug 1, 2017
1 parent 78c470b commit 1c66796
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions package.json
@@ -1,8 +1,10 @@
{
"name": "@antv/g2",
"version": "3.0.0",
"version": "3.0.0-beta0",
"description": "the Grammar of Graphics in Javascript",
"main": "index.js",
"main": "dist/g2.js",
"browser": "dist/g2.js",
"module": "index.js",
"repository": {
"type": "git",
"url": "git@gitlab.alibaba-inc.com:datavis/g2.git"
Expand Down Expand Up @@ -57,6 +59,7 @@
"lint": "eslint --ext .html,.js ./",
"lint-fix": "eslint --ext .html,.js --fix ./",
"prepare-demos": "./bin/prepare-demos-homepage && ./bin/prepare-demos-screenshots",
"postpublish": "npm run build && npm run compress",
"test": "torch --compile --renderer --recursive ./test/unit",
"test-live": "torch --compile --interactive --watch --recursive ./test/unit"
},
Expand Down
1 change: 0 additions & 1 deletion webpack-dev.config.js
Expand Up @@ -2,7 +2,6 @@ const webpackConfig = require('./webpack.config');
const _ = require('lodash');

module.exports = _.merge({
devtool: 'cheap-source-map',
watch: true,
watchOptions: {
aggregateTimeout: 300,
Expand Down
1 change: 1 addition & 0 deletions webpack.config.js
Expand Up @@ -2,6 +2,7 @@ const webpack = require('webpack');
const resolve = require('path').resolve;

module.exports = {
devtool: 'cheap-source-map',
entry: {
g2: './index.js'
},
Expand Down

0 comments on commit 1c66796

Please sign in to comment.