-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.43 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
{
"name": "js-motion",
"version": "1.1.0",
"description": "motion for mobile",
"files": [
"dist",
"types"
],
"main": "dist/motion.umd.js",
"module": "dist/motion.esm.js",
"types": "types/index.d.ts",
"scripts": {
"commit": "cz",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"lint": "eslint --f codeframe {src,test}/**",
"types": "tsc -d --declarationDir types --emitDeclarationOnly",
"rollup": "rollup -c",
"rollup:watch": "rollup -c -w",
"build": "npm run lint && npm run rollup && npm run types",
"test": "karma start",
"pub": "sh scripts/release.sh"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mirages/motion.git"
},
"bugs": {
"url": "https://github.com/mirages/motion/issues"
},
"homepage": "https://github.com/mirages/motion.git#readme",
"keywords": [
"mobile",
"motion",
"scale",
"rotate",
"guesture"
],
"author": "mirages",
"license": "MIT",
"dependencies": {},
"devDependencies": {
"@rollup/plugin-commonjs": "^15.0.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-typescript": "^5.0.2",
"@types/chai": "^4.2.12",
"@types/mocha": "^8.0.3",
"@typescript-eslint/eslint-plugin": "^4.1.0",
"@typescript-eslint/parser": "^4.1.0",
"chai": "^4.2.0",
"commitizen": "^4.2.2",
"conventional-changelog-cli": "^2.1.0",
"cz-conventional-changelog": "3.3.0",
"eslint": "^7.8.1",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^4.3.0",
"karma": "^5.2.2",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-typescript": "^5.2.0",
"lint-staged": "^10.5.1",
"mocha": "^8.1.3",
"prettier": "2.1.2",
"rollup": "^2.26.10",
"rollup-plugin-banner": "^0.2.1",
"rollup-plugin-uglify": "^6.0.4",
"tslib": "^2.0.1",
"typescript": "^4.0.2"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true"
}
},
"lint-staged": {
"*.ts": ["karma start --single-run --browsers ChromeHeadless", "prettier --write", "eslint --fix"]
}
}