Skip to content

Commit

Permalink
chore(package): reorganize npm scripts (#689)
Browse files Browse the repository at this point in the history
  • Loading branch information
mojoaxel authored May 7, 2020
1 parent 35bf237 commit b094689
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,14 @@
"test:e2e:headless:transpile": "tsc --project cypress",
"test:e2e:headless:transpile-and-test": "npm run test:e2e:headless:transpile && npm run test:e2e:headless:test",
"test:unit": "BABEL_ENV=test-cov nyc mocha --exit",
"build": "npm run build:declarations && npm run build:code && npm run build:legacy:types && npm run build:legacy:code && npm run build:legacy:images",
"build:legacy:types": "cpy --parents \"types/**/*\" dist && tsc -p tsconfig.types.json",
"build:legacy:code": "rollup --config rollup.config.js",
"build:legacy:images": "cpy \"lib/assets/*\" dist/img/network",
"build:declarations": "cpy --cwd=types --parents \"**/*\" ../declarations && tsc -p tsconfig.declarations.json",
"build:code": "rollup --config rollup.build.js",
"build:watch": "rollup --watch --config rollup.build.js",
"prepublishOnly": "npm run build",
"build": "npm run build:declarations && npm run build:code && npm run build:legacy:types && npm run build:legacy:code && npm run build:legacy:images",
"watch": "rollup --watch --config rollup.build.js",
"watch-dev": "npm run watch-dev",
"generate-examples-index": "generate-examples-index --config generate-examples-index.json",
"lint": "npm run lint:js && npm run lint:ts",
"lint:js": "eslint '{lib,test}/**/*.js'",
Expand Down

0 comments on commit b094689

Please sign in to comment.