-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
57 lines (57 loc) · 1.67 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
{
"name": "raf-schd",
"version": "4.0.3",
"description": "A scheduler based on requestAnimationFrame",
"main": "dist/raf-schd.cjs.js",
"module": "dist/raf-schd.esm.js",
"sideEffects": false,
"files": [
"/dist",
"/src"
],
"author": "Alex Reardon <alexreardon@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/alexreardon/raf-schd.git"
},
"keywords": [
"performance",
"raf",
"requestAnimationFrame",
"cancelAnimationFrame"
],
"config": {
"prettier_target": "*.{js,md,json} src/**/*.{js,md,json} test/**/*.{js,md,json}"
},
"scripts": {
"build": "yarn run build:clean && yarn run build:dist && yarn run build:flow",
"test": "jest",
"validate": "yarn run prettier:check && yarn run typecheck",
"prettier:check": "prettier --debug-check $npm_package_config_prettier_target",
"prettier:write": "prettier --write $npm_package_config_prettier_target",
"typecheck": "flow check",
"build:clean": "rimraf dist",
"build:dist": "rollup -c",
"build:flow": "echo \"// @flow\n\nexport * from '../src';\" > dist/raf-schd.cjs.js.flow",
"prepublish": "yarn run build"
},
"devDependencies": {
"@babel/core": "^7.13.15",
"@babel/preset-env": "^7.13.15",
"@babel/preset-flow": "^7.13.13",
"babel-eslint": "10.1.0",
"babel-jest": "^26.6.3",
"cross-env": "^7.0.3",
"flow-bin": "0.148.0",
"jest": "26.6.3",
"prettier": "^2.2.1",
"raf-stub": "3.0.0",
"rimraf": "^3.0.2",
"rollup": "^2.45.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^7.0.2"
},
"dependencies": {}
}