Skip to content

Commit 996c171

Browse files
authored
[devops] Devops cleanup (wip) (#643)
* rm unused npm scripts * rm updating package json script * update npm scripts naming * copy edit
1 parent 997a04b commit 996c171

File tree

3 files changed

+3
-34
lines changed

3 files changed

+3
-34
lines changed

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ In an **index.html** file, copy and paste the following and open up that file in
3434
<!DOCTYPE html>
3535
<html lang="en">
3636
<head>
37-
<title>Getting Started with ml5.js and p5.js</title>
37+
<title>Getting Started with ml5.js</title>
3838
<meta name="viewport" content="width=device-width, initial-scale=1.0">
3939
<script src="https://unpkg.com/[email protected]/dist/ml5.min.js"></script>
4040
</head>

package.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,9 @@
1616
"test": "./node_modules/karma/bin/karma start karma.conf.js ",
1717
"test:single": "./node_modules/karma/bin/karma start karma.conf.js --single-run",
1818
"test-travis": "./scripts/test-travis.sh",
19-
"dev:docs": "docsify serve docs",
20-
"update:packageVersion": "node ./scripts/updatePackageVersion.js",
21-
"checkout:latest": "git checkout -b v$npm_package_version",
22-
"release:prep": "npm-run-all --sequential update:packageVersion checkout:latest",
19+
"serve:docs": "docsify serve docs",
2320
"update:readme": "node ./scripts/updateReadme.js",
24-
"release:build": "npm install && npm run build",
25-
"release:commitAndPush": "git add . && git commit -m 'bumps version and adds latest build' && git push origin v$npm_package_version",
26-
"release:tag": "git tag v$npm_package_version && git push --tags",
27-
"development:sync": "git checkout development && git fetch && git pull",
28-
"release:sync": "git checkout release && git fetch && git pull",
29-
"publish:npm": "npm publish"
21+
"publish:npm": "npm run build && npm publish"
3022
},
3123
"repository": {
3224
"type": "git",

scripts/updatePackageVersion.js

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)