Skip to content

Commit

Permalink
Merge pull request #6 from ArthurClemens/bug/symlink-script
Browse files Browse the repository at this point in the history
Move symlink creation for tests
  • Loading branch information
ArthurClemens authored Dec 19, 2022
2 parents bc2d2c0 + ca68e30 commit fbe1a2b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# dialogic-js

[![npm](https://img.shields.io/badge/npm-0.3.0-blue)](https://www.npmjs.com/package/dialogic-js)
[![npm](https://img.shields.io/badge/npm-0.3.1-blue)](https://www.npmjs.com/package/dialogic-js)

Control the opening and closing of dialogs and menus using HTML and (optionally) vanilla JavaScript.

Expand Down Expand Up @@ -38,8 +38,8 @@ This is a basic version of [dialogic](http://github.com/ArthurClemens/dialogic),
### Including on a static site

```html
<script src="https://unpkg.com/[email protected].0/dist/dialogic-js.min.js"></script>
<link href="https://unpkg.com/[email protected].0/dist/dialogic-js.min.css" rel="stylesheet" />
<script src="https://unpkg.com/[email protected].1/dist/dialogic-js.min.js"></script>
<link href="https://unpkg.com/[email protected].1/dist/dialogic-js.min.css" rel="stylesheet" />
```

### Installing via npm
Expand Down
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dialogic-js",
"version": "0.3.0",
"version": "0.3.1",
"description": "Control the opening and closing of dialogs and menus using HTML and (optionally) vanilla JavaScript.",
"types": "dist",
"files": [
Expand All @@ -20,20 +20,19 @@
}
},
"scripts": {
"postinstall": "sh scripts/link-dist.sh",
"dist:clean": "rm -rf ./dist/*",
"build:minified": "esbuild src/index.ts --bundle --minify --target=es2020,chrome58,edge18,firefox57,node12,safari11 --outfile=dist/dialogic-js.min.js",
"build:esm": "esbuild src/index.ts --bundle --format=esm --outfile=dist/dialogic-js.js",
"build:types": "./node_modules/typescript/bin/tsc --p tsconfig.gen.json",
"build": "npm run dist:clean && npm run build:esm && npm run build:minified && npm run build:types",
"test:server": "http-server ./test",
"start": "npm run test:server",
"test:open": "cypress open",
"test:run": "cypress run",
"test:local": "run-p test:server test:open",
"test:ci": "run-p test:browser:chrome test:browser:firefox",
"test:browser:chrome": "cypress run --browser chrome --spec cypress/e2e/*.cy.ts",
"test:browser:firefox": "cypress run --browser firefox --spec cypress/e2e/*.cy.ts"
"test:setup": "sh scripts/link-dist.sh",
"test:local": "npm run test:setup && run-p test:server test:open",
"test:ci": "npm run test:setup && run-p test:browser:chrome test:browser:firefox",
"test:browser:chrome": "cypress run --browser chrome --spec \"cypress/e2e/*.cy.ts\"",
"test:browser:firefox": "cypress run --browser firefox --spec \"cypress/e2e/*.cy.ts\"",
"test:open": "cypress open"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit fbe1a2b

Please sign in to comment.