Skip to content

Commit 69d27b0

Browse files
committed
chore: change tryout to playground to meet the standard ignore files defaults
1 parent 9725d18 commit 69d27b0

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

tryout.config.js renamed to demo.config.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ module.exports = {
22
entry: './index.js',
33
output: {
44
path: './demo/',
5-
filename: 'logatim.tryout.js',
5+
filename: 'bundle.js',
66
library: 'logatim',
7-
libraryTarget: 'var',
7+
libraryTarget: 'var'
88
},
99
module: {
10-
loaders:[{
10+
loaders: [{
1111
test: /\.js?$/,
1212
exclude: /(node_modules|bower_components)/,
1313
loader: 'babel',
1414
query: {
15-
presets: ['es2015'],
16-
},
17-
}],
18-
},
15+
presets: ['es2015']
16+
}
17+
}]
18+
}
1919
}
File renamed without changes.

demo/tryout.html renamed to demo/playground.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
<h1>Logatim playground</h1>
33
<h4>Open the console to start the party</h4>
44
</section>
5-
<script src=logatim.tryout.js charset=utf-8 async></script>
5+
<script src=bundle.js charset=utf-8 async></script>

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"description": "Isomorphic logger which implements log levels and ANSI styles",
44
"main": "dist/logatim.umd.min.js",
55
"scripts": {
6-
"tryout": "webpack --config tryout.config.js",
7-
"start": "npm run tryout -- --debug && node-repl demo/logatim.tryout.js",
6+
"playground": "webpack --config demo.config.js",
7+
"start": "npm run playground -- --debug && node-repl demo/bundle.js",
88
"test": "tap test/test-*.js -R spec",
99
"posttest": "npm run standard",
1010
"test-ci": "COVERALLS_REPO_TOKEN=aZSRN0p0eQPw5sMOpQPcS5NaHjSyGlIwB tap test/test-*.js --cov",
1111
"standard": "standard --verbose | snazzy",
1212
"build": "webpack -p && npm run test-ci",
13-
"demo": "npm run tryout -- --watch & open demo/tryout.html",
13+
"demo": "npm run playground -- --watch & open demo/playground.html",
1414
"push": "npm test && npm run build && git add -A && git cz && git push",
1515
"changelog": "changelog edravis/logatim all -m > CHANGELOG.md",
1616
"semantic-release": "semantic-release pre && npm publish && semantic-release post"

0 commit comments

Comments
 (0)