Skip to content

Commit

Permalink
Release v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewn committed Nov 24, 2017
1 parent 9e92697 commit ea1b54a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@
"license": "MIT",
"scripts": {
"start": "if-env NODE_ENV=production && npm run -s serve || npm run -s dev",
"build":
"npm run build:bundle && npm run build:config && npm run build:zip",
"build": "npm run build:bundle && npm run build:config && npm run build:zip",
"build:bundle": "preact build --production --no-prerender",
"build:config": "cp src/config.json build/js/",
"build:zip":
"ln -s build ${npm_package_name}-${npm_package_version} && rm -f *.zip && zip -r ${npm_package_name}-${npm_package_version}.zip ${npm_package_name}-${npm_package_version} && rm ${npm_package_name}-${npm_package_version}",
"build:zip": "ln -s build ${npm_package_name}-${npm_package_version} && rm -f *.zip && zip -r ${npm_package_name}-${npm_package_version}.zip ${npm_package_name}-${npm_package_version} && rm ${npm_package_name}-${npm_package_version}",
"serve": "npm run build && preact serve",
"dev": "preact watch",
"lint": "eslint src",
Expand All @@ -20,7 +18,9 @@
"eslintConfig": {
"extends": "eslint-config-airbnb"
},
"eslintIgnore": ["build/*"],
"eslintIgnore": [
"build/*"
],
"devDependencies": {
"babel-plugin-transform-runtime": "^6.23.0",
"eslint": "^4.5.0",
Expand Down

0 comments on commit ea1b54a

Please sign in to comment.