Skip to content

Commit

Permalink
build: update package scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Jul 28, 2019
1 parent a6f5197 commit 6951459
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 9 additions & 5 deletions packages/webgl-shadertoy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@
"author": "Karsten Schmidt <k+npm@thi.ng>",
"license": "Apache-2.0",
"scripts": {
"build": "yarn clean && yarn build:es6 && yarn build:bundle",
"build": "yarn clean && yarn build:es6 && node ../../scripts/bundle-module",
"build:release": "yarn clean && yarn build:es6 && node ../../scripts/bundle-module all",
"build:es6": "tsc --declaration",
"build:bundle": "../../scripts/bundle-module",
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib geo shaders textures",
"cover": "yarn test && nyc report --reporter=lcov",
"build:test": "rimraf build && tsc -p test/tsconfig.json",
"test": "yarn build:test && mocha build/test/*.js",
"cover": "yarn build:test && nyc mocha build/test/*.js && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"doc": "node_modules/.bin/typedoc --mode modules --out doc src",
"pub": "yarn build && yarn publish --access public"
},
Expand All @@ -32,7 +33,10 @@
"typescript": "^3.5.3"
},
"dependencies": {
"@thi.ng/api": "6.3.1",
"@thi.ng/shader-ast": "^0.2.0",
"@thi.ng/shader-ast-glsl": "^0.1.2",
"@thi.ng/transducers": "^5.4.1",
"@thi.ng/webgl": "^0.1.2"
},
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/webgl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"build:test": "rimraf build && tsc -p test/tsconfig.json",
"test": "yarn build:test && mocha build/test/*.js",
"cover": "yarn build:test && nyc mocha build/test/*.js && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib geo shaders textures",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib api geo shaders textures",
"doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build:release && yarn publish --access public"
},
Expand Down

0 comments on commit 6951459

Please sign in to comment.