Skip to content

Commit

Permalink
chore: configure build script
Browse files Browse the repository at this point in the history
  • Loading branch information
WoodNeck committed Nov 9, 2020
1 parent 7657ef8 commit f2f9185
Show file tree
Hide file tree
Showing 8 changed files with 273 additions and 68 deletions.
26 changes: 0 additions & 26 deletions .eslintrc

This file was deleted.

124 changes: 119 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"types": "declaration/index.d.ts",
"scripts": {
"start": "webpack-dev-server --open --host 0.0.0.0",
"build:webpack": "webpack --env.mode=production && webpack --env.mode=packaged",
"build": "rm -rf ./dist && rollup -c && npm run printsizes",
"printsizes": "print-sizes ./dist --exclude=\\.map",
"test": "karma start",
Expand All @@ -29,6 +28,10 @@
"prepush": "npm run lint",
"commitmsg": "node config/validate-commit-msg.js",
"changelog": "node config/changelog.js"
},
"repository": {
"type": "git",
"url": "https://github.com/naver/egjs-view360"
},
"author": {
"name": "NAVER Corp."
Expand All @@ -44,9 +47,9 @@
"dependencies": {
"@egjs/agent": "^2.2.1",
"@egjs/axes": "^2.7.1",
"@egjs/component": "^2.2.2",
"es6-promise": "^4.2.5",
"gl-matrix": "^3.3.0",
"motion-sensors-polyfill": "^0.3.1",
"webvr-polyfill": "^0.9.41"
},
"devDependencies": {
Expand All @@ -56,8 +59,8 @@
"@babel/plugin-transform-modules-commonjs": "^7.1.0",
"@babel/preset-env": "^7.0.0",
"@daybrush/jsdoc": "^0.3.8",
"@egjs/build-helper": "^0.1.2",
"@egjs/common-demo": "github:naver/egjs#common-demo",
"@egjs/component": "^2.2.2",
"@egjs/visible": "^2.1.0",
"@types/webxr": "^0.1.0",
"babel-eslint": "^10.0.1",
Expand Down
Loading

0 comments on commit f2f9185

Please sign in to comment.