Skip to content

Commit

Permalink
Move demo build away from gulp
Browse files Browse the repository at this point in the history
see #65
  • Loading branch information
Lazerbeak12345 committed Mar 20, 2022
1 parent 6acb617 commit bb0f088
Show file tree
Hide file tree
Showing 6 changed files with 85 additions and 2,351 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"plugins": ["tsdoc"],
"ignorePatterns":["dist/**"],
"ignorePatterns":["dist/**","docs/**"],
"extends":"standard-with-typescript",
"parserOptions":{
"project":"./tsconfig.json"
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ node_modules/

*.log
dist/
docs/

.parcel-cache
28 changes: 0 additions & 28 deletions gulpfile.ts

This file was deleted.

38 changes: 26 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,28 @@
"name": "pixelmanipulator",
"version": "4.5.2",
"description": "Run any cellular automata on an html5 canvas.",
"main": "dist/umd/pixelmanipulator.js",
"module": "dist/lib/pixelmanipulator.js",
"types": "dist/lib/pixelmanipulator.d.ts",
"source": "src/lib/pixelmanipulator.ts",
"main": "dist/main.js",
"browser": "dist/browser.js",
"module": "dist/module.js",
"types": "dist/types.d.ts",
"demo": "docs/pixelmanipulator.html",
"targets": {
"main": {
"source": "src/lib/pixelmanipulator.ts"
},
"module": {
"source": "src/lib/pixelmanipulator.ts"
},
"browser": {
"source": "src/lib/pixelmanipulator.ts"
},
"types": {
"source": "src/lib/pixelmanipulator.ts"
},
"demo": {
"source": "src/demo/pixelmanipulator.html"
}
},
"repository": "git@github.com:Lazerbeak12345/pixelmanipulator.git",
"homepage": "https://lazerbeak12345.github.io/pixelmanipulator",
"author": "Nathan Fritzler <nfblaster@live.com>",
Expand Down Expand Up @@ -41,8 +59,6 @@
"devDependencies": {
"@parcel/packager-ts": "2.3.2",
"@parcel/transformer-typescript-types": "2.3.2",
"@types/gulp": "^4.0.9",
"@types/node": "^14",
"@typescript-eslint/eslint-plugin": "^4.0.1",
"@typescript-eslint/parser": "^4.0.0",
"eslint": "^7.12.1",
Expand All @@ -51,11 +67,7 @@
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1 || ^5.0.0",
"eslint-plugin-tsdoc": "^0.2.14",
"gulp": "^4.0.2",
"gulp-typedoc": "^3.0.2",
"gulp-typescript": "^6.0.0-alpha.1",
"parcel": "^2.3.2",
"ts-node": "^10.5.0",
"typedoc": "^0.22.12",
"typedoc-plugin-mdn-links": "^1.0.5",
"typescript": "<4.5.0"
Expand All @@ -65,10 +77,12 @@
"test": "exit 1",
"watch": "parcel src/demo/pixelmanipulator.html",
"prebuild": "eslint .",
"build": "parcel build && gulp",
"build:docs": "typedoc --name PixelManipulator --out docs --media media --includeVersion src/lib/pixelmanipulator.ts",
"build:parcel": "parcel build",
"build": "yarn build:docs && yarn build:parcel",
"coverage": "exit 1"
},
"dependencies": {
"@swc/helpers": "^0.2.14"
"@swc/helpers": "^0.3.8"
}
}
5 changes: 0 additions & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
{
"compilerOptions":{
"outDir":"./dist/commonjs",
"rootDir":".",
"declaration":true,
"target":"esnext",
"moduleResolution": "node",
"lib":[
"dom",
"esnext"
Expand Down

0 comments on commit bb0f088

Please sign in to comment.