Skip to content

Commit 73ae51e

Browse files
authored
Move beta source to src folder (#169)
* Move source files into src * Update scripts * Add back main field * Fix import path * Add no-dev to dep check
1 parent 3d7f356 commit 73ae51e

File tree

119 files changed

+7
-8
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+7
-8
lines changed

beta/package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
{
22
"name": "beta-player",
3-
"main": "index.js",
3+
"main": "src/index.js",
44
"version": "7.0.0-2",
55
"private": true,
66
"scripts": {
7-
"build": "NODE_ENV=production jalla build index.js --dir dist --sw sw.js",
8-
"dev": "jalla start index.js -d --watch --sw sw.js",
7+
"build": "NODE_ENV=production cd src && jalla build index.js --dir ../dist --sw sw.js",
8+
"dev": "cd src && jalla start index.js --watch --sw sw.js",
99
"audit:npm": "npm audit",
10-
"inspect": "jalla inspect index.js",
1110
"start": "NODE_ENV=production jalla serve index.js --dir dist --sw sw.js",
12-
"test": "standard && npm run test-deps",
13-
"test-deps": "dependency-check . -i @resonate/tachyons --no-dev",
14-
"test-browser": "browserify test/browser/index.js | tape-run | tap-format-spec"
11+
"test": "standard && npm run test:deps",
12+
"test:deps": "dependency-check ./src/index.js -i @resonate/tachyons --no-dev",
13+
"test:browser": "browserify src/test/browser/index.js | tape-run | tap-format-spec"
1514
},
1615
"repository": "https://github.com/resonatecoop/stream2own",
1716
"documentify": {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)