-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
99 lines (99 loc) · 3.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
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "@curvenote/article",
"version": "0.3.5",
"description": "Scientific web components for interactive scientific writing, reactive documents and explorable explanations.",
"main": "dist/index.js",
"unpkg": "dist/curvenote.min.js",
"types": "dist/index.d.ts",
"keywords": [
"explorable explanations",
"web components",
"writing"
],
"author": "rowanc1",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/curvenote/article.git"
},
"bugs": {
"url": "https://github.com/curvenote/article/issues"
},
"homepage": "https://curvenote.dev/article",
"files": [
"dist"
],
"scripts": {
"test": "jest",
"lint": "eslint \"src/**/*.ts\" -c .eslintrc.json",
"lint:format": "prettier --check \"src/**/*\" \"styles/**/*\"",
"lint:format:fix": "prettier --write \"src/**/*\" \"styles/**/*\"",
"start": "yarn run build-css; webpack serve --config webpack.dev.js",
"clean": "rm -rf dist || true; rm -f styles/index.css*;",
"link": "yarn unlink; yarn link; yarn link @curvenote/runtime;yarn link @curvenote/components;yarn link @curvenote/svg",
"size": "yarn run build && size-limit",
"size-why": "webpack-bundle-analyzer stats.json -p 8005",
"copy-css": "mkdir -p dist; cp theme.css dist/theme.css; cp node_modules/@curvenote/components/dist/curvenote.css styles/_components.scss;",
"watch-css": "yarn run copy-css; sass --watch styles/index.scss dist/curvenote.css",
"build-css": "yarn run copy-css; sass styles/index.scss dist/curvenote.css;",
"build-dev": "webpack --config webpack.dev.js",
"build": "yarn run build-css; webpack --config webpack.prod.js --profile --json > stats.json; tsc; rm -rf dist/src",
"prepublishOnly": "yarn run clean; yarn run build;"
},
"dependencies": {
"@curvenote/components": "^0.3.1",
"@curvenote/runtime": "^0.2.8",
"@curvenote/svg": "^0.0.9",
"copy-webpack-plugin": "^9.0.1",
"highlight.js": "^10.6.0",
"katex": "^0.13.11",
"redux": "^4.1.0",
"redux-thunk": "^2.3.0",
"scroll-into-view-if-needed": "^2.2.28"
},
"devDependencies": {
"@size-limit/preset-app": "^5.0.0",
"@types/highlight.js": "^10.1.0",
"@types/jest": "^26.0.23",
"@types/katex": "^0.11.0",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"clean-webpack-plugin": "^3.0.0",
"css-loader": "^5.2.6",
"eslint": "^7.29.0",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"express": "^4.17.1",
"html-webpack-plugin": "^5.3.2",
"jest": "^27.0.5",
"node-sass": "^6.0.1",
"prettier": "^2.3.2",
"sass-loader": "^12.1.0",
"size-limit": "^5.0.0",
"style-loader": "^3.0.0",
"ts-jest": "^27.0.3",
"ts-loader": "^9.2.3",
"typescript": "^4.3.4",
"webpack": "^5.40.0",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.7.2",
"webpack-dev-server": "^3.11.2",
"webpack-merge": "^5.8.0"
},
"sideEffects": false,
"size-limit": [
{
"path": "dist/curvenote.min.js",
"limit": "10 KB"
}
]
}