agenticstackjs commited on
Commit
fa0d897
·
1 Parent(s): 22a6f79

build pages

Browse files
Files changed (4) hide show
  1. .gitignore +2 -1
  2. index.html +0 -19
  3. package.json +2 -1
  4. src/index.html +1 -1
.gitignore CHANGED
@@ -1,3 +1,4 @@
1
  node_modules/
2
  /development/node_modules/
3
- node_modules
 
 
1
  node_modules/
2
  /development/node_modules/
3
+ node_modules
4
+ dist/
index.html DELETED
@@ -1,19 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome Agentic Stack JS</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
package.json CHANGED
@@ -6,7 +6,8 @@
6
  "main": "index.js",
7
  "scripts": {
8
  "test": "echo \"Error: no test specified\" && exit 1",
9
- "build": "copyfiles -f ./node_modules/agentic-stack-js-web-components/dist/*.js ./dist/assests/js/"
 
10
  },
11
  "author": "",
12
  "license": "ISC",
 
6
  "main": "index.js",
7
  "scripts": {
8
  "test": "echo \"Error: no test specified\" && exit 1",
9
+ "build-pages": "copyfiles -f ./index.html ./dist/",
10
+ "build": "npm run build-pages && copyfiles -f ./node_modules/agentic-stack-js-web-components/dist/*.js ./dist/assests/js/"
11
  },
12
  "author": "",
13
  "license": "ISC",
src/index.html CHANGED
@@ -6,7 +6,7 @@
6
  <title>My static Space</title>
7
  <link rel="stylesheet" href="style.css" />
8
 
9
- <script type="module" src="/js/agenticstack.js"></script>
10
 
11
  </head>
12
  <body>
 
6
  <title>My static Space</title>
7
  <link rel="stylesheet" href="style.css" />
8
 
9
+ <script type="module" src="/assests/js/agenticstack.js"></script>
10
 
11
  </head>
12
  <body>