-
Notifications
You must be signed in to change notification settings - Fork 44
/
package.json
51 lines (51 loc) · 1.6 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
{
"name": "animated-scroll-to",
"version": "2.3.0",
"description": "Simple, plain JavaScript animated window scroll",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"scripts": {
"clean": "del-cli ./dist",
"build:esm": "tsc -p tsconfig.json && echo '{ \"type\": \"module\" }' > dist/esm/package.json",
"build:cjs": "tsc -p tsconfig-cjs.json && echo '{ \"type\": \"commonjs\" }' > dist/cjs/package.json",
"build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:docs",
"prepublishOnly": "npm test && npm run build",
"start": "esbuild docs/docs.ts --bundle --tsconfig=tsconfig-demo.json --servedir=docs --outdir=docs/animated-scroll-to",
"build:docs": "esbuild docs/docs.ts --bundle --tsconfig=tsconfig-demo.json --outdir=docs --minify --sourcemap",
"test": "node test.js",
"cypress:run": "cypress run",
"cypress:open": "cypress open"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Stanko/animated-scroll-to.git"
},
"keywords": [
"scroll",
"scrollTo"
],
"author": "Stanko",
"license": "MIT",
"bugs": {
"url": "https://github.com/Stanko/animated-scroll-to/issues"
},
"homepage": "https://github.com/Stanko/animated-scroll-to#readme",
"devDependencies": {
"@types/node": "^18.0.0",
"cypress": "^10.2.0",
"del-cli": "^4.0.1",
"esbuild": "^0.14.47",
"typescript": "^4.7.4"
},
"files": [
"dist/",
"CHANGELOG.md"
]
}