-
Notifications
You must be signed in to change notification settings - Fork 86
/
package.json
58 lines (58 loc) · 2.24 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"name": "rollupjs.org",
"author": "Rich Harris",
"version": "1.0.0",
"devDependencies": {
"@babel/core": "^7.19.1",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.19.1",
"@babel/preset-env": "^7.19.1",
"@mermaid-js/mermaid-cli": "^9.1.6",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-node-resolve": "^14.1.0",
"@rollup/plugin-replace": "^4.0.0",
"@rollup/plugin-url": "^7.0.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"prettier-plugin-svelte": "^2.7.0",
"rollup": "^2.79.0",
"rollup-plugin-svelte": "^7.1.0",
"rollup-plugin-terser": "^7.0.2",
"sapper": "^0.29.3",
"shx": "^0.3.4",
"sirv-cli": "^2.0.2",
"svelte": "^3.50.1",
"zx": "^7.0.7"
},
"scripts": {
"dev": "sapper dev",
"build": "npm run clean && npm run update-guide && npm run generate-graphs && sapper export --legacy && cp -r __sapper__/export export",
"start": "sirv export",
"update-guide": "git submodule update --init --recursive && shx rm -rf guide/en && shx cp -r rollup-submodule/docs/ guide/en",
"publish-updated-guide": "git pull && git submodule update --init --recursive && cd rollup-submodule && git checkout master && git pull && cd .. && npm test && git add rollup-submodule && git commit -m \"Update guide\" && git push",
"clean": "rm -rf export/ && rm -rf __sapper__/",
"lint": "prettier --write src/**/*.{js,html,svelte} scripts/**/*.{mjs,js}",
"generate-graphs": "zx scripts/generate-graphs.mjs",
"stage": "netlify deploy --dir=export",
"deploy": "netlify deploy --dir=export --prod",
"prestage": "npm run build",
"predeploy": "npm run build",
"test": "npx rollup scripts/verify-guide-links.js -f cjs --silent | node",
"postinstall": "husky install"
},
"dependencies": {
"@babel/runtime": "^7.19.0",
"@codemirror/commands": "^6.1.0",
"@codemirror/lang-javascript": "^6.0.2",
"@codemirror/language": "^6.2.1",
"@codemirror/search": "^6.2.0",
"@codemirror/state": "^6.1.1",
"@codemirror/view": "^6.2.4",
"compression": "^1.7.4",
"highlight.js": "^11.6.0",
"marked": "^4.1.0",
"polka": "^0.5.2"
}
}