-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
28 lines (28 loc) · 1.37 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"name": "classroom-export-viewer",
"version": "0.2.0",
"description": "",
"private": true,
"author": "psvenk <45520974+psvenk@users.noreply.github.com>",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.10.1",
"@babel/core": "^7.10.2",
"@babel/plugin-proposal-optional-chaining": "^7.10.1",
"@babel/preset-env": "^7.10.2"
},
"scripts": {
"build": "rm -rf dist && mkdir -p dist && npm run build:babel && npm run build:copy-html && npm run build:insert-version && npm run build:copy-static",
"build:babel": "babel src --out-dir dist",
"build:copy-html": "cp src/index.html dist/index.html",
"build:insert-version": "sed -i \"s/VERSION/$npm_package_version/g\" 'dist/index.html'",
"build:copy-static": "cp -rLT static dist",
"gh-pages": "rm -rf dist; mkdir dist; git clone -b gh-pages git@github.com:psvenk/classroom-export-viewer.git dist; rm -rf dist/*; npm run build; cd dist; git add *; git add -u *; git commit -m 'Updated the GitHub Pages site'; git push origin gh-pages; cd ..; rm -rf dist",
"____gh-pages-comment": "This is taken from the package.json for LearnASM by KB1RD, which can be found at <https://github.com/KB1RD/LearnASM/blob/master/package.json>."
},
"browserslist": [
"since 2010",
"cover 96% in US",
"IE >= 9"
]
}