-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpackage.json
96 lines (96 loc) · 3.03 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
{
"name": "sidebarjs",
"library": "SidebarJS",
"version": "10.0.0",
"description": "Create mobile sidebar/sidenav experience in pure javascript",
"main": "./lib/umd/sidebarjs.js",
"module": "./lib/esm/sidebarjs.js",
"typings": "./lib/src/index.d.ts",
"scripts": {
"css": "sass --no-source-map ./src/sidebarjs.scss ./lib/sidebarjs.css",
"css:watch": "npm run css -- -w",
"css:autoprefixer": "postcss --no-map --use autoprefixer -o ./lib/sidebarjs.css ./lib/sidebarjs.css",
"css:nano": "postcss --no-map --use cssnano -o ./lib/sidebarjs.min.css ./lib/sidebarjs.css",
"css:build": "npm run css && npm run css:autoprefixer && npm run css:nano",
"js:ts": "tsc",
"js:rollup": "rollup --bundleConfigAsCjs -c",
"js:watch": "npm run js:ts -- -w & npm run js:rollup -- -w",
"js:build": "npm run js:ts && npm run js:rollup",
"test": "jest",
"build": "npm run css:build && npm run js:build",
"build:watch": "npm run css:watch & npm run js:watch",
"server": "live-server --open=demo --watch=lib/sidebarjs.css,lib/umd/sidebarjs.js",
"demo": "npm run build && npm run server",
"start": "npm run build:watch & npm run server",
"format": "prettier --config .prettierrc --write src/*.ts && eslint --fix",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"prerelease": "npm run build && npm run changelog"
},
"engines": {
"npm": ">=6.10.0",
"node": ">=12.7.0"
},
"repository": {
"type": "git",
"url": "git+/~https://github.com/SidebarJS/sidebarjs.git"
},
"author": "Lorenzo D'Ianni <lorenzodianni@gmail.com>",
"license": "MIT",
"bugs": {
"url": "/~https://github.com/SidebarJS/sidebarjs/issues"
},
"homepage": "/~https://github.com/SidebarJS/sidebarjs#readme",
"keywords": [
"sidebar",
"sidenav",
"javascript",
"sidebarjs"
],
"devDependencies": {
"@babel/core": "7.20.7",
"@babel/preset-env": "7.20.2",
"@rollup/plugin-babel": "6.0.3",
"@rollup/plugin-commonjs": "24.0.0",
"@rollup/plugin-node-resolve": "15.0.1",
"@rollup/plugin-terser": "0.2.1",
"@types/jest": "29.2.4",
"@types/sinon": "10.0.13",
"@typescript-eslint/eslint-plugin": "5.47.1",
"@typescript-eslint/parser": "5.47.1",
"autoprefixer": "10.4.13",
"conventional-changelog-cli": "2.2.2",
"cssnano": "5.1.14",
"eslint": "8.30.0",
"eslint-config-prettier": "8.5.0",
"fs-extra": "11.1.0",
"gesture-events": "1.0.0",
"jest": "29.3.1",
"jest-environment-jsdom": "29.3.1",
"live-server": "1.2.2",
"postcss": "8.4.20",
"postcss-cli": "10.1.0",
"prettier": "2.8.1",
"rollup": "3.9.0",
"sass": "1.57.1",
"sinon": "15.0.1",
"ts-jest": "29.0.3",
"typescript": "4.9.4"
},
"browserslist": [
"iOS 6",
"Android 4",
"last 2 versions"
],
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"testEnvironment": "jsdom"
}
}