-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
58 lines (58 loc) · 2.11 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
{
"name": "pinyin-separate",
"version": "1.1.0",
"description": "Separates a string containing pinyin notation (with diacritics) into an array of pinyin syllables, even if there are no spaces in between.",
"main": "./lib/index.js",
"type": "module",
"scripts": {
"clean": "rimraf lib",
"test": "npm run lint && npm run test:only",
"test:prod": "cross-env BABEL_ENV=production npm run test",
"test:only": "mocha --require babel-core/register --require babel-polyfill --recursive",
"test:watch": "npm test -- --watch",
"test:examples": "node examples/",
"lint": "eslint src test",
"build": "babel src --out-dir lib && npm run dist",
"dist": "browserify -p [ browserify-banner --file build/dist-banner.txt ] lib/index.js > dist/pinyin-separate.js --standalone pinyin-separate && cross-env BABEL_ENV=production babel src --out-dir build/temp && browserify -p [ browserify-banner --file build/dist-banner.txt ] -g uglifyify build/temp/index.js > dist/pinyin-separate.min.js --standalone pinyin-separate && rimraf build/temp",
"prepublishOnly": "npm run clean && npm run lint && npm run test && npm run build"
},
"files": [
"lib",
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/Connum/npm-pinyin-separate.git"
},
"keywords": [
"chinese",
"mandarin",
"language",
"linguistics",
"pinyin"
],
"author": "Connum <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/Connum/npm-pinyin-separate/issues"
},
"homepage": "https://github.com/Connum/npm-pinyin-separate#readme",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-eslint": "^10.0.2",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-minify": "^0.5.2",
"browserify": "^17.0.0",
"browserify-banner": "^2.0.4",
"chai": "^4.3.10",
"cross-env": "^7.0.3",
"eslint": "^8.52.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.29.0",
"mocha": "^10.2.0",
"rimraf": "^5.0.5",
"uglifyify": "^5.0.2"
}
}