-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
41 lines (41 loc) · 1.91 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
{
"name": "frontend",
"description": "Simple recipe app.",
"version": "0.0.1",
"scripts": {
"dev": "parcel serve --no-autoinstall --port 8081 --hmr-port 8889 src/index.html",
"samples": "parcel serve --no-autoinstall --port 8081 --hmr-port 8889 samples/index.html",
"presamples": "node -e 'console.log(`// THIS FILE IS AUTOGENERATED\\nimport { _addSampleFilename as a } from \"./\";\\ndeclare const require:any;\\n${process.argv.slice(1).map(s => `\"../src${s.substr(5)}\"`).sort().map(s => `require(${s});\\na(${s});`).join(\"\\n\")}`)' $(find ./src -name '*_sample.t*?') > ./samples/imports.ts",
"prebuild": "rm -f dist/*",
"build": "parcel build --no-cache src/index.html --public-url ./",
"postbuild": "echo '⟶ bundle =' $(du -sbh dist/ | sed 's/\\sdist\\///') && echo '⟶ bundle.gz =' $(tar -zc dist/ | wc -c | numfmt --to=iec)",
"docs": "rm -rf docs/*.js docs/*.css docs/*.map && parcel build src/index.html samples/index.html --public-url ../ --out-dir docs/",
"lint": "prettier --print-width 100 --trailing-comma all --write src/**/*.{ts,js,tsx,jsx,scss,css}",
"bench": "find src/ -name *_bench* | xargs -n 1 ts-node -O '{\"module\":\"commonjs\"}'",
"run": "ts-node -O '{\"module\":\"commonjs\"}'",
"test": "find src/ -name *_test* | xargs -n 1 ts-node -O '{\"module\":\"commonjs\"}' | tap-summary",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@types/benchmark": "1.0.33",
"@types/icepick": "2.3.0",
"@types/tape": "4.13.0",
"benchmark": "2.1.4",
"node-sass": "^7.0.3",
"parcel-bundler": "^1.8.1",
"parcel-plugin-bundle-visualiser": "^0.8.2",
"prettier": "2.0.5",
"tap-summary": "4.0.0",
"tape": "5.0.1",
"ts-node": "8.10.2",
"typescript": "3.9.3"
},
"dependencies": {
"classcat": "4.1.0",
"fuse.js": "6.0.0",
"icepick": "2.4.0",
"reselect": "4.0.0",
"superfine": "7.0.0",
"tslib": "2.0.0"
}
}